summaryrefslogtreecommitdiffstats
path: root/x11/libxklavier/files/patch-libxklavier_xklavier_config.c
blob: 889c14b89d85c3b94080dd86a3f7185afae6c634 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- libxklavier/xklavier_config.c   2006-04-15 22:04:38.000000000 -0400
+++ libxklavier/xklavier_config.c   2006-07-08 10:15:17.000000000 -0400
@@ -275,7 +275,11 @@
 gchar *
 xkl_strings_concat_comma_separated(gchar ** array)
 {
-   return g_strjoinv(",", array);
+   if (array) {
+       return g_strjoinv(",", array);
+   } else {
+       return g_strdup("");
+   }
 }
 
 void