Open Civil opened 8 years ago
/home/civil/src/OpenJK/codeJK2/game/Q3_Interface.cpp:8629:8: error: comparison between pointer and integer ('char *' and 'int') if ( VALIDSTRING( value ) == false ) ^~~~~~~~~~~~~~~~~~~~ /home/civil/src/OpenJK/codeJK2/game/g_local.h:85:52: note: expanded from macro 'VALIDSTRING' #define VALIDSTRING( a ) ( ( a != NULL ) && ( a[0] != '\0' ) ) ~~~~ ^ ~~~~
Looks like it should be
if ( VALIDSTRING( *value ) == false )
because value is char * and VALIDSTRING expects char