don't be dumb.

This commit is contained in:
Joris Vink 2016-02-13 14:13:59 +01:00
parent 9340d132db
commit c91fa9ab70
1 changed files with 1 additions and 1 deletions

View File

@ -506,7 +506,7 @@ kore_text_trim(char *string, size_t len)
if (len == 0)
return (string);
end = string + len - 1;
end = string + len;
while (isspace(*string))
string++;