Commit cd567f7d authored by Erik de Castro Lopo's avatar Erik de Castro Lopo
Browse files

flacdiff: Improve error msg output

Patch-from: lvqcl <lvqcl.mail@gmail.com>
parent 7eda006d
...@@ -210,9 +210,9 @@ int main(int argc, char *argv[]) ...@@ -210,9 +210,9 @@ int main(int argc, char *argv[])
{ {
const char *usage = "usage: flacdiff flacfile1 flacfile2\n"; const char *usage = "usage: flacdiff flacfile1 flacfile2\n";
#ifdef FLAC__STRINGS_IN_UTF8 #ifdef _WIN32
if (get_utf8_argv(&argc, &argv) != 0) { if (get_utf8_argv(&argc, &argv) != 0) {
fprintf(stderr, "%ERROR: failed to convert command line parameters to UTF-8\n"); fprintf(stderr, "ERROR: failed to convert command line parameters to UTF-8\n");
return 1; return 1;
} }
#endif #endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment