aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/ewl
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2009-11-23 19:55:17 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2009-11-23 19:55:17 +0000
commit87323f9819bc8bcc576bea1801fec7b8538c3aa8 (patch)
treeef32e7719f6cb6bfdbda9a77b7732a941958f070 /x11-toolkits/ewl
parent5dc92db21ccfa2fee8104e7a947fec88805b6556 (diff)
downloadports-87323f9819bc8bcc576bea1801fec7b8538c3aa8.tar.gz
ports-87323f9819bc8bcc576bea1801fec7b8538c3aa8.zip
Notes
Diffstat (limited to 'x11-toolkits/ewl')
-rw-r--r--x11-toolkits/ewl/files/patch-tools-ewl_config_ewl_config.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/x11-toolkits/ewl/files/patch-tools-ewl_config_ewl_config.c b/x11-toolkits/ewl/files/patch-tools-ewl_config_ewl_config.c
new file mode 100644
index 000000000000..d01792e311de
--- /dev/null
+++ b/x11-toolkits/ewl/files/patch-tools-ewl_config_ewl_config.c
@@ -0,0 +1,22 @@
+--- tools/ewl_config/ewl_config.c.orig 2009-11-23 20:47:09.000000000 +0100
++++ tools/ewl_config/ewl_config.c 2009-11-23 20:47:42.000000000 +0100
+@@ -342,8 +342,8 @@
+ ret = ec_themes_get(rep, list, v);
+ if (ret >= 0)
+ sel = ret;
++ closedir(rep);
+ }
+- closedir(rep);
+
+ home_dir = getenv("HOME");
+ snprintf(path, PATH_MAX, "%s/%s", home_dir, ".ewl/themes");
+@@ -355,8 +355,8 @@
+ ret = ec_themes_get(rep, list, v);
+ if (ret >= 0)
+ sel = ret;
++ closedir(rep);
+ }
+- closedir(rep);
+
+ if (sel >= 0)
+ ewl_mvc_selected_set(EWL_MVC(o), NULL, list, sel, 0);