comparison mp_msg.c @ 4176:116abdd0aed1

small gtk bug fix (-display bug, baze gabu, miattad fogok elkarhozni:), and remove gui dependencie in mencoder
author pontscho
date Tue, 15 Jan 2002 17:03:19 +0000
parents 9eb4aa623ab6
children cb2adf32c356
comparison
equal deleted inserted replaced
4175:8110b321f2ca 4176:116abdd0aed1
26 26
27 void mp_msg_c( int x, const char *format, ... ){ 27 void mp_msg_c( int x, const char *format, ... ){
28 va_list va; 28 va_list va;
29 if((x&255)>mp_msg_levels[x>>8]) return; // do not display 29 if((x&255)>mp_msg_levels[x>>8]) return; // do not display
30 va_start(va, format); 30 va_start(va, format);
31 #ifdef HAVE_NEW_GUI 31 #if defined( HAVE_NEW_GUI ) && !defined( HAVE_MENCODER )
32 if(use_gui){ 32 if(use_gui){
33 char tmp[16*80]; 33 char tmp[16*80];
34 vsnprintf( tmp,8*80,format,va ); tmp[8*80-1]=0; 34 vsnprintf( tmp,8*80,format,va ); tmp[8*80-1]=0;
35 switch( x&255 ) { 35 switch( x&255 ) {
36 case MSGL_FATAL: 36 case MSGL_FATAL: