summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Gui/wm/ws.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Gui/wm/ws.c b/Gui/wm/ws.c
index db77d5528e..f9e2f1decf 100644
--- a/Gui/wm/ws.c
+++ b/Gui/wm/ws.c
@@ -489,7 +489,7 @@ void wsCreateWindow( wsTWindow * win,int X,int Y,int wX,int hY,int bW,int cV,uns
for ( i=0;i < wsWLCount;i++ )
if ( wsWindowList[i] == NULL ) break;
if ( i == wsWLCount )
- { printf( "!!! tul sok nyitott ablak van.\n" ); exit( 1 ); }
+ { mp_msg( MSGT_GPLAYER,MSGL_FATAL,"[ws] there are too many open windows\n" ); exit( 0 ); }
wsWindowList[i]=win;
}