diff options
Diffstat (limited to 'src/os/unix/unix.cpp')
-rw-r--r-- | src/os/unix/unix.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/unix/unix.cpp b/src/os/unix/unix.cpp index 57edf1d38..8bb947e85 100644 --- a/src/os/unix/unix.cpp +++ b/src/os/unix/unix.cpp @@ -243,7 +243,7 @@ void CocoaReleaseAutoreleasePool(); int CDECL main(int argc, char *argv[]) { /* Make sure our arguments contain only valid UTF-8 characters. */ - for (int i = 0; i < argc; i++) ValidateString(argv[i]); + for (int i = 0; i < argc; i++) StrMakeValidInPlace(argv[i]); #ifdef WITH_COCOA CocoaSetupAutoreleasePool(); |