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 268ec7e..bb775b7 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;