Index: code/q3_ui/ui_rankings.c =================================================================== --- code/q3_ui/ui_rankings.c (revision 1508) +++ code/q3_ui/ui_rankings.c (working copy) @@ -129,7 +129,7 @@ for( p = f->field.buffer; *p != '\0'; p++ ) { //if( ispunct(*p) || isspace(*p) ) - if( !( ( (*p) >= '0' && (*p) <= '9') || Q_isalpha(*p)) ) + if( !( ( (*p) >= '0' && (*p) <= '9') || isalpha(*p)) ) { *p = '\0'; } @@ -202,7 +202,7 @@ for( p = f->field.buffer; *p != '\0'; p++ ) { //if( ispunct(*p) || isspace(*p) ) - if( !( ( (*p) >= '0' && (*p) <= '9') || Q_isalpha(*p)) ) + if( !( ( (*p) >= '0' && (*p) <= '9') || isalpha(*p)) ) { *p = '\0'; } Index: code/q3_ui/ui_qmenu.c =================================================================== --- code/q3_ui/ui_qmenu.c (revision 1508) +++ code/q3_ui/ui_qmenu.c (working copy) @@ -1148,7 +1148,7 @@ return (0); // force to lower for case insensitive compare - if ( Q_isupper( key ) ) + if ( isupper( key ) ) { key -= 'A' - 'a'; } @@ -1158,7 +1158,7 @@ { j = (l->curvalue + i) % l->numitems; c = l->itemnames[j][0]; - if ( Q_isupper( c ) ) + if ( isupper( c ) ) { c -= 'A' - 'a'; } Index: code/q3_ui/ui_mfield.c =================================================================== --- code/q3_ui/ui_mfield.c (revision 1508) +++ code/q3_ui/ui_mfield.c (working copy) @@ -419,11 +419,11 @@ { keycode &= ~K_CHAR_FLAG; - if ((m->generic.flags & QMF_UPPERCASE) && Q_islower( keycode )) + if ((m->generic.flags & QMF_UPPERCASE) && islower( keycode )) keycode -= 'a' - 'A'; - else if ((m->generic.flags & QMF_LOWERCASE) && Q_isupper( keycode )) + else if ((m->generic.flags & QMF_LOWERCASE) && isupper( keycode )) keycode -= 'A' - 'a'; - else if ((m->generic.flags & QMF_NUMBERSONLY) && Q_isalpha( keycode )) + else if ((m->generic.flags & QMF_NUMBERSONLY) && isalpha( keycode )) return (menu_buzz_sound); MField_CharEvent( &m->field, keycode); Index: code/qcommon/q_shared.c =================================================================== --- code/qcommon/q_shared.c (revision 1508) +++ code/qcommon/q_shared.c (working copy) @@ -662,27 +662,6 @@ return ( 0 ); } -int Q_islower( int c ) -{ - if (c >= 'a' && c <= 'z') - return ( 1 ); - return ( 0 ); -} - -int Q_isupper( int c ) -{ - if (c >= 'A' && c <= 'Z') - return ( 1 ); - return ( 0 ); -} - -int Q_isalpha( int c ) -{ - if ((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z')) - return ( 1 ); - return ( 0 ); -} - char* Q_strrchr( const char* string, int c ) { char cc = c; Index: code/qcommon/q_shared.h =================================================================== --- code/qcommon/q_shared.h (revision 1508) +++ code/qcommon/q_shared.h (working copy) @@ -684,9 +684,6 @@ //============================================= int Q_isprint( int c ); -int Q_islower( int c ); -int Q_isupper( int c ); -int Q_isalpha( int c ); qboolean Q_isanumber( const char *s ); qboolean Q_isintegral( float f );