mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-09 12:25:48 +01:00
Do not use a string literal when a format string is expected
Otherwise we'll get compiler errors. Based on a patch by: Vincent Le Garrec <legarrec.vincent@gmail.com> https://bugzilla.gnome.org/show_bug.cgi?id=696749
This commit is contained in:
parent
5e7e058a9c
commit
525bbbd6bd
@ -228,7 +228,7 @@ g_message_win32_error (DWORD result_code,
|
|||||||
if (result_code == ERROR_KEY_DELETED)
|
if (result_code == ERROR_KEY_DELETED)
|
||||||
trace ("(%s)", win32_message);
|
trace ("(%s)", win32_message);
|
||||||
else
|
else
|
||||||
g_message (win32_message);
|
g_message ("%s", win32_message);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user