From d6ecb8afe4894dcb93828ed27bb42b8bd7ce4199 Mon Sep 17 00:00:00 2001 From: divverent Date: Sun, 28 Nov 2010 14:36:29 +0000 Subject: [PATCH] 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 --- utf8lib.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.39.2