1
0
mirror of https://gitlab.gnome.org/GNOME/glib.git synced 2025-04-01 13:23:07 +02:00

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

@ -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;