- Remove Q_strrchr(), replace with standard, portable strrchr()
- Add strrchr() to bg_lib.c, patch by DevHC
This commit is contained in:
parent
3ddc59a3ba
commit
b509d770a7
12 changed files with 27 additions and 29 deletions
|
@ -1617,7 +1617,7 @@ static void ServerPlayerIcon( const char *modelAndSkin, char *iconName, int icon
|
|||
char model[MAX_QPATH];
|
||||
|
||||
Q_strncpyz( model, modelAndSkin, sizeof(model));
|
||||
skin = Q_strrchr( model, '/' );
|
||||
skin = strrchr( model, '/' );
|
||||
if ( skin ) {
|
||||
*skin++ = '\0';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue