Browse Source

Fix another typo

gingerBill 5 months ago
parent
commit
9b3d381af0
1 changed files with 1 additions and 1 deletions
  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 {};
 		}
 	}