diff options
| author | gingerBill <bill@gingerbill.org> | 2019-10-20 10:50:18 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2019-10-20 10:50:18 +0100 |
| commit | 9f0a28017daa4f39f3c16e46df7e766e5de3ca38 (patch) | |
| tree | 011403f5ac2a8c847270e6d7a07ddde4792ed604 /src | |
| parent | 2afe4bea67ff50c2ad41ff7c3ba7fbdc18748746 (diff) | |
Fix typo in `string_to_string16` #444
Diffstat (limited to 'src')
| -rw-r--r-- | src/string.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string.cpp b/src/string.cpp index a29f3bd77..6812c5c39 100644 --- a/src/string.cpp +++ b/src/string.cpp @@ -404,7 +404,7 @@ String16 string_to_string16(gbAllocator a, String s) { } text[len] = 0; - return make_string16(text, len-1); + return make_string16(text, len); } |