Skip to content
Snippets Groups Projects
Commit dba4b975 authored by Romain Bouvier's avatar Romain Bouvier
Browse files

g_locale_to_utf8 is misspelled as g_local_to_utf8

- Fix issue #46
- This code path is almost never used (we don't really test
  minGW/windows), but let's fix this anyway
parent 54119a26
No related branches found
No related tags found
No related merge requests found
Pipeline #8743 passed
......@@ -376,7 +376,7 @@ main (int argc, char **argv)
}
#ifdef G_OS_WIN32
filename = g_local_to_utf8 (argv[1], -1, NULL, NULL, NULL);
filename = g_locale_to_utf8 (argv[1], -1, NULL, NULL, NULL);
#else
filename = argv[1];
#endif
......@@ -401,7 +401,7 @@ main (int argc, char **argv)
for (n = argc - 1, p = argv + 1; n-- > 0; ++p, toggle = !toggle)
{
#ifdef G_OS_WIN32
filename = g_local_to_utf8 (*p, -1, NULL, NULL, NULL);
filename = g_locale_to_utf8 (*p, -1, NULL, NULL, NULL);
#else
filename = *p;
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment