mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-06 01:16:17 +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
|
#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;
|
||||||
|
Loading…
Reference in New Issue
Block a user