2
0
gingerBill 5 сар өмнө
parent
commit
9b3d381af0
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      src/path.cpp

+ 1 - 1
src/path.cpp

@@ -86,7 +86,7 @@ String get_working_directory(gbAllocator allocator) {
 		array_resize(&buf, size);
 
 		cwd = getcwd(buf.data, buf.count);
-		if (cwd == nullptr && errno() != ERANGE) {
+		if (cwd == nullptr && errno != ERANGE) {
 			return {};
 		}
 	}