mirror of
https://github.com/ksherlock/mpw.git
synced 2024-11-21 09:30:55 +00:00
fix ptr bug.
This commit is contained in:
parent
e21aac4022
commit
60b49a1ff4
@ -35,7 +35,7 @@ namespace OS {
|
|||||||
char *cp;
|
char *cp;
|
||||||
|
|
||||||
cp = getcwd(buffer, sizeof(buffer));
|
cp = getcwd(buffer, sizeof(buffer));
|
||||||
if (cp < 0) return 0;
|
if (cp == 0) return 0;
|
||||||
|
|
||||||
std::string path(cp);
|
std::string path(cp);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user