Explorar el Código

Fix another typo

gingerBill hace 5 meses
padre
commit
9b3d381af0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 {};
 		}
 	}