diff options
| author | gingerBill <bill@gingerbill.org> | 2017-12-14 19:56:32 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2017-12-14 19:56:32 +0000 |
| commit | 1b6a14ac39165d848cf5e4fd970d2dc2992fc439 (patch) | |
| tree | 199ea5ee92c86b3a336aae99a7896239c0c093b6 /src/build_settings.cpp | |
| parent | 367013f589b2ae87a0b83410bc4ea770e1263157 (diff) | |
Fix lhs < rhs bug (#164)
Diffstat (limited to 'src/build_settings.cpp')
| -rw-r--r-- | src/build_settings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build_settings.cpp b/src/build_settings.cpp index 7d7634806..5948bd0f4 100644 --- a/src/build_settings.cpp +++ b/src/build_settings.cpp @@ -263,7 +263,7 @@ String path_to_fullpath(gbAllocator a, String s) { gb_mutex_lock(&string_buffer_mutex); p = realpath(cast(char *)s.text, 0); gb_mutex_unlock(&string_buffer_mutex); - if(p == nullptr) return make_string_c(""); + if(p == nullptr) return String{}; return make_string_c(p); } #else |