diff options
Diffstat (limited to 'lib/compat/src/path_to_windows.c')
-rw-r--r-- | lib/compat/src/path_to_windows.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/compat/src/path_to_windows.c b/lib/compat/src/path_to_windows.c index ff3a5d2..5a35f50 100644 --- a/lib/compat/src/path_to_windows.c +++ b/lib/compat/src/path_to_windows.c @@ -18,8 +18,7 @@ WCHAR *path_to_windows(const char *input) length = MultiByteToWideChar(CP_UTF8, 0, input, -1, NULL, 0); if (length <= 0) { - fprintf(stderr, "Converting UTF-8 path to UTF-16: %ld\n", - GetLastError()); + w32_perror("Converting UTF-8 path to UTF-16"); return NULL; } |