mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-24 04:09:15 +01:00
*Removed a stupid piece of code
This commit is contained in:
parent
05a95db4db
commit
bce19e488e
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user