diff --git a/src/fileutils.cpp b/src/fileutils.cpp index d376039c..f729bd5d 100644 --- a/src/fileutils.cpp +++ b/src/fileutils.cpp @@ -95,8 +95,8 @@ bool dirExists(const char* what) { bool makeDir(const char* path) { #ifdef _WIN32 - return (SHCreateDirectory(NULL,utf8To16(path).c_str())!=ERROR_SUCCESS); + return (SHCreateDirectory(NULL,utf8To16(path).c_str())==ERROR_SUCCESS); #else return (mkdir(path,0755)==0); #endif -} \ No newline at end of file +}