Get rid of warnings creating MemStick, etc.

This commit is contained in:
Unknown W. Brackets committed 2012-12-10 22:57:22 -08:00
1 parent 3ae4acc7d6
commit ec72abe8c9
1 file changed
+2 -2
+2 -2
View File
@@ -202,12 +202,12 @@ bool CreateFullPath(const std::string &fullPath)
// we're done, yay!
if (position == fullPath.npos)
{
if (!File::IsDirectory(fullPath))
if (!File::Exists(fullPath))
File::CreateDir(fullPath);
return true;
}
std::string subPath = fullPath.substr(0, position);
if (!File::IsDirectory(subPath))
if (!File::Exists(subPath))
File::CreateDir(subPath);
// A safety check