diff options
Diffstat (limited to 'src/common.cpp')
| -rw-r--r-- | src/common.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common.cpp b/src/common.cpp index f47ad69eb..779554ecc 100644 --- a/src/common.cpp +++ b/src/common.cpp @@ -753,8 +753,8 @@ String path_to_full_path(gbAllocator a, String path) { String res = string_trim_whitespace(make_string_c(fullpath)); #if defined(GB_SYSTEM_WINDOWS) for (isize i = 0; i < res.len; i++) { - if (res[i] == '\\') { - res[i] = '/'; + if (res.text[i] == '\\') { + res.text[i] = '/'; } } #endif |