mirror of
https://bitbucket.org/CPMADevs/cnq3
synced 2024-11-27 06:13:13 +00:00
fixed comparing an int to NULL
This commit is contained in:
parent
720c84e24e
commit
ae2560984a
1 changed files with 2 additions and 2 deletions
|
@ -1154,7 +1154,7 @@ void CL_LoadCommandHistory()
|
|||
|
||||
fileHandle_t f;
|
||||
FS_FOpenFileRead( HISTORY_PATH, &f, qfalse );
|
||||
if ( f == NULL )
|
||||
if ( f == 0 )
|
||||
return;
|
||||
|
||||
int count;
|
||||
|
@ -1200,7 +1200,7 @@ void CL_SaveCommandHistory()
|
|||
return;
|
||||
|
||||
const fileHandle_t f = FS_FOpenFileWrite( HISTORY_PATH );
|
||||
if ( f == NULL )
|
||||
if ( f == 0 )
|
||||
return;
|
||||
|
||||
int count = 0;
|
||||
|
|
Loading…
Reference in a new issue