]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
strlennocol: fix color codes :P
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 28 Nov 2010 14:36:29 +0000 (14:36 +0000)
committerRudolf Polzer <divverent@alientrap.org>
Tue, 30 Nov 2010 19:26:25 +0000 (20:26 +0100)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10641 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=6c34f0a37ce6e3e4d21b8e2605e580d295306908

utf8lib.c

index 268ec7e3e84b75a24c2f61790cb83f8cf0995327..bb775b7fd91b749a4593382f52691135c58f4250 100644 (file)
--- 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;