]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
Fix again u8_COM_StringLengthNoColors returning always 0 if end is NULL (strlennocol...
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 25 Sep 2010 08:39:29 +0000 (08:39 +0000)
committerRudolf Polzer <divverent@alientrap.org>
Sat, 25 Sep 2010 19:49:12 +0000 (21:49 +0200)
commit7fb759741bd7414315b567698961e9128c9e26da
treec573eb7813e0559bc961ea8db8150922a0989f6e
parent5c92efcb7f6186d225788829268c2e6ecfeeab63
Fix again u8_COM_StringLengthNoColors returning always 0 if end is NULL (strlennocol case), and counting 1 less character if the last character is multibyte and end is not NULL

Signed-off-by: terencehill <piuntn@gmail.com>
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10492 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=a315e532aafafc62929aeed9662cdcb66a454172
utf8lib.c