commit c91fa9ab701f97e3901dec90657c510e50691e99
parent 9340d132dbc2ab1156f1b19d9921f584c5943c87
Author: Joris Vink <joris@coders.se>
Date: Sat, 13 Feb 2016 14:13:59 +0100
don't be dumb.
Diffstat:
src/utils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/utils.c b/src/utils.c
@@ -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++;