glib-init: fix obvious buffer size mismatch

This commit is contained in:
Ryan Lortie 2012-03-13 20:08:01 -04:00
parent 73fb1944e4
commit 063f03fa76

View File

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