From: divverent Date: Sun, 28 Nov 2010 14:36:29 +0000 (+0000) Subject: strlennocol: fix color codes :P X-Git-Tag: xonotic-v0.1.0preview~33 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d6ecb8afe4894dcb93828ed27bb42b8bd7ce4199;p=xonotic%2Fdarkplaces.git strlennocol: fix color codes :P git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10641 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=6c34f0a37ce6e3e4d21b8e2605e580d295306908 --- diff --git a/utf8lib.c b/utf8lib.c index 268ec7e3..bb775b7f 100644 --- a/utf8lib.c +++ b/utf8lib.c @@ -728,6 +728,7 @@ u8_COM_StringLengthNoColors(const char *_s, size_t size_s, qboolean *valid) ++len; // the character break; } + ++s; continue; default: break;