*Removed a stupid piece of code

This commit is contained in:
overjoy.psm 2012-05-13 00:38:56 +00:00
parent 05a95db4db
commit bce19e488e

View File

@ -185,12 +185,6 @@ void Nand::Set_NandPath(string path)
else else
*(path.begin()) = '/'; *(path.begin()) = '/';
if(isalnum(*(path.end())))
path.push_back('/');
else
//path.replace(path.length() - 1, 1, "/"); WTF?
*(path.end()) = '/';
if(path.size() <= 32) if(path.size() <= 32)
memcpy(NandPath, path.c_str(), path.size()); memcpy(NandPath, path.c_str(), path.size());
else else