summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2021-10-14 00:36:39 +0200
committerPřemysl Eric Janouch <p@janouch.name>2021-10-14 00:36:39 +0200
commit8815d72db7fc600fd9902627864523acc00a5b09 (patch)
tree7564460095721be3e5889700a960988e03c94051
parent3102bc0cb9d84676ed400935883687d8a738c835 (diff)
downloadlogdiag-8815d72db7fc600fd9902627864523acc00a5b09.tar.gz
logdiag-8815d72db7fc600fd9902627864523acc00a5b09.tar.xz
logdiag-8815d72db7fc600fd9902627864523acc00a5b09.zip
Make note of the recent g_win32_get_command_line()
-rw-r--r--src/logdiag.c1
1 files changed, 1 insertions, 0 deletions
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");