diff options
author | reynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-03-30 06:40:58 +0000 |
---|---|---|
committer | reynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-03-30 06:40:58 +0000 |
commit | bf25812a43c2e3ca244cc1698a7e006391ce34b8 (patch) | |
tree | 5d5f792df73067fc4e2d5ff9295fea966c3baf80 /libmenu/menu_pt.c | |
parent | 9c301c3e16546f00e9230abfbe36a45793bd9389 (diff) | |
download | mpv-bf25812a43c2e3ca244cc1698a7e006391ce34b8.tar.bz2 mpv-bf25812a43c2e3ca244cc1698a7e006391ce34b8.tar.xz |
Part1 of several printf2mp_msg changes in patch from Otvos Attila oattila AT chello DOT hu
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17995 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmenu/menu_pt.c')
-rw-r--r-- | libmenu/menu_pt.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libmenu/menu_pt.c b/libmenu/menu_pt.c index c5dc3673ea..6a1aca0963 100644 --- a/libmenu/menu_pt.c +++ b/libmenu/menu_pt.c @@ -5,6 +5,8 @@ //#include <libgen.h> #include "config.h" +#include "mp_msg.h" +#include "help_mp.h" #include "img_format.h" #include "mp_image.h" @@ -77,7 +79,7 @@ static void read_cmd(menu_t* menu,int cmd) { d--; } if(i == NULL) { - printf("Can't find the target item ????\n"); + mp_msg(MSGT_GLOBAL,MSGL_WARN,MSGTR_LIBMENU_CantfindTheTargetItem); break; } } @@ -87,7 +89,7 @@ static void read_cmd(menu_t* menu,int cmd) { if(c) mp_input_queue_cmd(c); else - printf("Failed to build command %s\n",str); + mp_msg(MSGT_GLOBAL,MSGL_WARN,MSGTR_LIBMENU_FailedToBuildCommand,str); } break; default: menu_list_read_cmd(menu,cmd); |