spacing and readability: add spaces around ==, etc

This commit is contained in:
KentuckyCompass 2015-09-07 16:35:23 -07:00
parent b55015992c
commit 8fb9403735

View file

@ -341,7 +341,7 @@ ISOFileSystem::TreeEntry *ISOFileSystem::GetFromPath(std::string path, bool catc
e = ne;
size_t l = name.length();
path.erase(0, l);
if (path.length() == 0 || (path.length()==1 && path[0] == '/'))
if (path.length() == 0 || (path.length() == 1 && path[0] == '/'))
return e;
path.erase(0, 1);
while (path[0] == '/')