2
0

Fix check for whether there is a directory in the path.

This commit is contained in:
Maarten Billemont 2017-11-21 22:33:42 -05:00
parent ff9d0d75ef
commit 4d9df012f6

View File

@ -229,7 +229,7 @@ bool mpw_mkdirs(const char *filePath) {
// The path to mkdir is the filePath without the last path component.
char *pathEnd = strrchr( filePath, '/' );
if (pathEnd)
if (!pathEnd)
return true;
// Walk the path.