More Sys_FPrintf with SYS_WRN

This commit is contained in:
Pan7 2017-03-18 18:45:32 +01:00
parent 491aee4b19
commit 9af42bb314

View file

@ -646,7 +646,7 @@ void FillTextureMenu( GSList** pArray ){
*pArray = g_slist_append( *pArray, strdup( (char*)temp->data ) ); *pArray = g_slist_append( *pArray, strdup( (char*)temp->data ) );
} }
if ( ++texture_nummenus == MAX_TEXTUREDIRS ) { if ( ++texture_nummenus == MAX_TEXTUREDIRS ) {
Sys_Printf( "WARNING: max texture directories count has been reached!\n" ); Sys_FPrintf( SYS_WRN, "WARNING: max texture directories count has been reached!\n" );
// push submenu and get out // push submenu and get out
item = gtk_menu_item_new_with_label( dirRoot ); item = gtk_menu_item_new_with_label( dirRoot );
gtk_widget_show( item ); gtk_widget_show( item );
@ -683,7 +683,7 @@ void FillTextureMenu( GSList** pArray ){
*pArray = g_slist_append( *pArray, strdup( (char*)temp->data ) ); *pArray = g_slist_append( *pArray, strdup( (char*)temp->data ) );
} }
if ( ++texture_nummenus == MAX_TEXTUREDIRS ) { if ( ++texture_nummenus == MAX_TEXTUREDIRS ) {
Sys_Printf( "WARNING: max texture directories count has been reached!\n" ); Sys_FPrintf( SYS_WRN, "WARNING: max texture directories count has been reached!\n" );
ClearGSList( texdirs ); ClearGSList( texdirs );
return; return;
} }
@ -900,7 +900,7 @@ void Texture_ShowAll(){
#ifdef _DEBUG #ifdef _DEBUG
if ( g_bShowAllShaders ) { if ( g_bShowAllShaders ) {
Sys_Printf( "WARNING: already showing all shaders\n" ); Sys_FPrintf( SYS_WRN, "WARNING: already showing all shaders\n" );
} }
#endif #endif
QERApp_ActiveShaders_SetDisplayed( true ); QERApp_ActiveShaders_SetDisplayed( true );
@ -1088,7 +1088,7 @@ IShader* Texture_NextPos( int *x, int *y ){
q = current_texture; q = current_texture;
if ( !q ) { if ( !q ) {
Sys_Printf( "WARNING: found an IShader without qtexture_t in Texture_NextPos\n" ); Sys_FPrintf( SYS_WRN, "WARNING: found an IShader without qtexture_t in Texture_NextPos\n" );
return NULL; return NULL;
} }