]> icculus.org git repositories - divverent/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)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 25 Sep 2010 08:39:29 +0000 (08:39 +0000)
commita315e532aafafc62929aeed9662cdcb66a454172
treedbc1c5cf33ed104e13f653d2d3742fedcb5d033a
parent0961be131f8762ddd1d659a7a3a2803b42c6bad4
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
utf8lib.c