mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
glib-init: fix obvious buffer size mismatch
This commit is contained in:
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;
|
||||
|
Loading…
Reference in New Issue
Block a user