Mercurial > hg > th-libs
changeset 283:2b76cc316205
Cosmetics.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 22 Feb 2016 13:15:57 +0200 |
parents | f0cb48b34463 |
children | 5a467b40800a |
files | th_string.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/th_string.c Mon Feb 22 13:14:48 2016 +0200 +++ b/th_string.c Mon Feb 22 13:15:57 2016 +0200 @@ -358,6 +358,7 @@ { if (ctx->pos < ctx->size) ctx->buf[ctx->pos] = ch; + ctx->pos++; ctx->ipos++; return ch; @@ -543,7 +544,7 @@ { int k = th_tolower(*s1) - th_tolower(*s2); if (k != 0) - return k; + return k; s1++; s2++; } @@ -565,7 +566,7 @@ { int k = th_tolower(*s1) - th_tolower(*s2); if (k != 0) - return k; + return k; s1++; s2++; n--;