diff options
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -65,7 +65,7 @@ size_t truncate_string_utf8(uint8_t* string, size_t length) { string[idx] = '\0'; #if DEBUG - // TODO Check if there is a null byte before the place where we terminated the string. + // Check if there is a null byte before the place where we terminated the string. size_t idx_dbd = idx - 1; while(idx_dbd >= 0) { assert(string[idx_dbd] != '\0' && "Found unexpected null byte. The user is at fault."); |
