diff options
author | faust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-09-13 18:02:20 +0000 |
---|---|---|
committer | faust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-09-13 18:02:20 +0000 |
commit | 67831d551cd57d5d64bf2efff8b22122e32829b6 (patch) | |
tree | 9d5c488c61ceb4054ac96abdb63de3bd8239d184 /libmenu/menu_param.c | |
parent | 9f1d1bc466c21137b2e35bac3ca9178db3f5c58a (diff) | |
download | mpv-67831d551cd57d5d64bf2efff8b22122e32829b6.tar.bz2 mpv-67831d551cd57d5d64bf2efff8b22122e32829b6.tar.xz |
make menu work on mingw (run command is still disabled), based on patch by Christophe Perinaud
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10865 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmenu/menu_param.c')
-rw-r--r-- | libmenu/menu_param.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libmenu/menu_param.c b/libmenu/menu_param.c index cad330b312..af8875afd4 100644 --- a/libmenu/menu_param.c +++ b/libmenu/menu_param.c @@ -103,19 +103,19 @@ static void free_entry(list_entry_t* entry) { free(entry); } -static void close(menu_t* menu) { +static void closeMenu(menu_t* menu) { menu_list_uninit(menu,free_entry); if(mpriv->edit) free(mpriv->edit); } -static int open(menu_t* menu, char* args) { +static int openMenu(menu_t* menu, char* args) { list_entry_t* e; menu->draw = menu_list_draw; menu->read_cmd = menu_list_read_cmd; menu->read_key = read_key; - menu->close = close; + menu->close = closeMenu; if(!args) { @@ -155,5 +155,5 @@ const menu_info_t menu_info_pref = { &cfg_dflt, cfg_fields }, - open + openMenu }; |