Commit a993d417 authored by Christophe Mutricy's avatar Christophe Mutricy

Fix if statement

parent e5d7794c
......@@ -375,7 +375,8 @@ int utf8_mkdir( const char *dirname )
{
if( GetLastError( ) == ERROR_ALREADY_EXISTS )
errno = EEXIST;
errno = ENOENT;
else
errno = ENOENT;
return -1;
}
return 0;
......
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