Mercurial > mplayer.hg
diff Gui/mplayer/play.c @ 1884:d21f8afc7680
add to multi lang support
author | pontscho |
---|---|
date | Wed, 12 Sep 2001 15:08:53 +0000 |
parents | 32b1bb50a0e8 |
children | 1f1e98fbf3a7 |
line wrap: on
line diff
--- a/Gui/mplayer/play.c Wed Sep 12 09:59:17 2001 +0000 +++ b/Gui/mplayer/play.c Wed Sep 12 15:08:53 2001 +0000 @@ -16,6 +16,7 @@ #include "../wm/widget.h" #include "../../config.h" +#include "../../help_mp.h" #include "../../libvo/x11_common.h" #include "widgets.h" @@ -25,7 +26,6 @@ #include "../skin/skin.h" #include "../error.h" -#include "../language.h" mplCommStruct * mplShMem; char * Filename = NULL; @@ -157,7 +157,7 @@ { if ( mplMenuDrawBuffer ) free( mplMenuDrawBuffer ); if ( ( mplMenuDrawBuffer = (unsigned char *)calloc( 1,appMPlayer.menuBase.Bitmap.ImageSize ) ) == NULL ) - { message( False,langNEMDB ); return; } + { message( False,MSGTR_NEMDB ); return; } wsResizeWindow( &appMPlayer.menuWindow,appMPlayer.menuBase.width,appMPlayer.menuBase.height ); wsResizeImage( &appMPlayer.menuWindow,appMPlayer.menuBase.width,appMPlayer.menuBase.height ); } @@ -179,7 +179,7 @@ if ( mplDrawBuffer ) free( mplDrawBuffer ); if ( ( mplDrawBuffer = (unsigned char *)calloc( 1,appMPlayer.main.Bitmap.ImageSize ) ) == NULL ) - { message( False,langNEMDB ); return; } + { message( False,MSGTR_NEMDB ); return; } wsVisibleWindow( &appMPlayer.mainWindow,wsHideWindow ); wsResizeWindow( &appMPlayer.mainWindow,appMPlayer.main.width,appMPlayer.main.height ); wsMoveWindow( &appMPlayer.mainWindow,appMPlayer.main.x,appMPlayer.main.y );