glib-init: fix obvious buffer size mismatch
authorRyan Lortie <desrt@desrt.ca>
Wed, 14 Mar 2012 00:08:01 +0000 (20:08 -0400)
committerRyan Lortie <desrt@desrt.ca>
Wed, 14 Mar 2012 00:15:21 +0000 (20:15 -0400)
glib/glib-init.c

index d5e8242..a03e918 100644 (file)
@@ -165,7 +165,7 @@ g_parse_debug_envvar (const gchar     *envvar,
 
 #ifdef OS_WIN32
   /* "fatal-warnings,fatal-criticals,all,help" is pretty short */
-  gchar buffer[80];
+  gchar buffer[100];
 
   if (GetEnvironmentVariable (envvar, buffer, 100) < 100)
     value = buffer;