summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorTim Janik <timj@gtk.org>1998-08-17 05:49:13 +0000
committerTim Janik <timj@src.gnome.org>1998-08-17 05:49:13 +0000
commitd2716f8bfd67459633f9a64e2ab1658290ee0bc0 (patch)
tree2bc00b5be7465d9d2ea2e47a4d9ccf59209e6d5e /gtk
parent477f14037c060029614ef27af5991eafd6f81876 (diff)
downloadgtk+-d2716f8bfd67459633f9a64e2ab1658290ee0bc0.tar.gz
NULL terminate the arg list to g_strconcat() (thanx raph).
Mon Aug 17 07:47:43 1998 Tim Janik <timj@gtk.org> * gtk/gtkmain.c (gtk_init): NULL terminate the arg list to g_strconcat() (thanx raph).
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtkmain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c
index 19c6d2f79f..9280eac812 100644
--- a/gtk/gtkmain.c
+++ b/gtk/gtkmain.c
@@ -330,7 +330,7 @@ gtk_init (int *argc,
module_name[2] == 'b'))
module_name = g_strdup (module_name);
else
- module_name = g_strconcat ("lib", module_name, ".so");
+ module_name = g_strconcat ("lib", module_name, ".so", NULL);
(*argv)[i] = NULL;
if (g_module_supported ())