mirror of
https://bitbucket.org/CPMADevs/cnq3
synced 2024-11-10 06:31:48 +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;
|
fileHandle_t f;
|
||||||
FS_FOpenFileRead( HISTORY_PATH, &f, qfalse );
|
FS_FOpenFileRead( HISTORY_PATH, &f, qfalse );
|
||||||
if ( f == NULL )
|
if ( f == 0 )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
int count;
|
int count;
|
||||||
|
@ -1200,7 +1200,7 @@ void CL_SaveCommandHistory()
|
||||||
return;
|
return;
|
||||||
|
|
||||||
const fileHandle_t f = FS_FOpenFileWrite( HISTORY_PATH );
|
const fileHandle_t f = FS_FOpenFileWrite( HISTORY_PATH );
|
||||||
if ( f == NULL )
|
if ( f == 0 )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
int count = 0;
|
int count = 0;
|
||||||
|
|
Loading…
Reference in a new issue