Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=setup.git;a=commitdiff;h=7ee7b4edc2cfa3e94468fa3bfa9794fd8d461c19

commit 7ee7b4edc2cfa3e94468fa3bfa9794fd8d461c19
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date:   Tue Jun 17 14:19:11 2008 +0200

avoid duplicated layout entries in the layout plugin

closes #3157

diff --git a/src/plugins/layout.c b/src/plugins/layout.c
index 1ba8003..f8c1823 100644
--- a/src/plugins/layout.c
+++ b/src/plugins/layout.c
@@ -101,6 +101,11 @@ int run(GList **config)
FILE* fp;
int ret = 0;

+       if (layoutl)
+       {
+               g_list_free(layoutl);
+               layoutl = NULL;
+       }
find("/usr/share/keymaps/i386");
layoutl = g_list_sort(layoutl, sort_layouts);
array = glist4dialog(layoutl, "");
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to