diff options
author | ben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-05-25 16:31:16 +0000 |
---|---|---|
committer | ben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-05-25 16:31:16 +0000 |
commit | 7755598a5a303bbe4402e2dfc3a83611e3f81578 (patch) | |
tree | 8cef51e77d5e5c749cf84a1da5aa00221867660b /libmenu | |
parent | 32012ea3bcd12f4b113c130a3b68e26dcf789158 (diff) | |
download | mpv-7755598a5a303bbe4402e2dfc3a83611e3f81578.tar.bz2 mpv-7755598a5a303bbe4402e2dfc3a83611e3f81578.tar.xz |
allow left key command to close text menus too
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23385 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmenu')
-rw-r--r-- | libmenu/menu_txt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmenu/menu_txt.c b/libmenu/menu_txt.c index 0f26596cc0..bdf20a771f 100644 --- a/libmenu/menu_txt.c +++ b/libmenu/menu_txt.c @@ -61,6 +61,7 @@ static void read_cmd(menu_t* menu,int cmd) { if(mpriv->cur_line >= mpriv->num_lines) mpriv->cur_line = mpriv->num_lines - 1; break; + case MENU_CMD_LEFT: case MENU_CMD_CANCEL: menu->show = 0; menu->cl = 1; |