aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2025-03-27 12:55:41 +0000
committergingerBill <bill@gingerbill.org>2025-03-27 12:55:41 +0000
commit9b3d381af048a0d12c45f4ea27ff435b3aeb698b (patch)
tree24860c9ba3228dde5b6bdb55e45df1e3ce057d88
parent1fc1a7fd51cec273619e1bcc80ae82fc7ed38032 (diff)
Fix another typo
-rw-r--r--src/path.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/path.cpp b/src/path.cpp
index 5a71c5463..12f8d3d4e 100644
--- a/src/path.cpp
+++ b/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 {};
}
}