]> 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)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 28 Nov 2010 14:36:29 +0000 (14:36 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10641 d7cf8633-e32d-0410-b094-e92efae38249

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;