- Fixed several memory errors
This commit is contained in:
@@ -46,7 +46,7 @@ path path::current() {
|
||||
}
|
||||
|
||||
path path::current(const path& path) {
|
||||
if (chdir(path._str)) {
|
||||
if (chdir(path._str.cstr())) {
|
||||
return fennec::path("");
|
||||
}
|
||||
return current();
|
||||
|
||||
Reference in New Issue
Block a user