1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-19 20:16:10 +08:00

Mac compatibility.

This commit is contained in:
Scott Ehlert
2012-05-21 18:30:56 -05:00
parent 421d7a6b4d
commit e09b17c2c0
10 changed files with 42 additions and 22 deletions

View File

@ -228,7 +228,7 @@ char *V_strnlwr(char *s, size_t count)
if ( !s )
return s;
while ( --count >= 0 )
while ( count-- )
{
if ( !*s )
break;