diff --git a/src/skel/crossplatform.cpp b/src/skel/crossplatform.cpp index 1d6281ec..fc2010f9 100644 --- a/src/skel/crossplatform.cpp +++ b/src/skel/crossplatform.cpp @@ -286,7 +286,7 @@ char* casepath(char const* path, bool checkPathFirst) if (!e) { - printf("casepath couldn't find dir/file \"%s\", full path was %s\n", c, path); + fprintf(stderr, "casepath couldn't find dir/file \"%s\", full path was %s\n", c, path); // No match, add original name and continue converting further slashes. strcpy(out + rl, c); rl += strlen(c); @@ -301,7 +301,7 @@ char* casepath(char const* path, bool checkPathFirst) } if (rl > l + 2) { - printf("\n\ncasepath: Corrected path length is longer then original+2:\n\tOriginal: %s (%zu chars)\n\tCorrected: %s (%zu chars)\n\n", path, l, out, rl); + fprintf(stderr, "\n\ncasepath: Corrected path length is longer then original+2:\n\tOriginal: %s (%zu chars)\n\tCorrected: %s (%zu chars)\n\n", path, l, out, rl); } return out; }