From 8815d72db7fc600fd9902627864523acc00a5b09 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Thu, 14 Oct 2021 00:36:39 +0200 Subject: Make note of the recent g_win32_get_command_line() --- src/logdiag.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/logdiag.c b/src/logdiag.c index dd6efed..50720c2 100644 --- a/src/logdiag.c +++ b/src/logdiag.c @@ -137,6 +137,7 @@ main (int argc, char *argv[]) #ifdef _WIN32 /* Don't be unneccessarily limited by the system ANSI codepage. */ + /* g_win32_get_command_line() should replace this code for GLib >= 2.40. */ argv_overriden = get_utf8_args (&argc, &argv); if (argv_overriden) _putenv ("CHARSET=UTF-8"); -- cgit v1.2.3-70-g09d2