Fix lhs < rhs bug (#164)

This commit is contained in:
gingerBill
2017-12-14 19:56:32 +00:00
parent 367013f589
commit 1b6a14ac39
2 changed files with 3 additions and 4 deletions

View File

@@ -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