From b79af69ae46a1817f038a425e40dff22dced19b6 Mon Sep 17 00:00:00 2001 From: ben Date: Wed, 12 Dec 2007 19:26:55 +0000 Subject: [PATCH] reverted r25323: deprecated by ulion's recent patches git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25382 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmenu/menu_filesel.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/libmenu/menu_filesel.c b/libmenu/menu_filesel.c index 96725f9c6d..906ff436fd 100644 --- a/libmenu/menu_filesel.c +++ b/libmenu/menu_filesel.c @@ -200,7 +200,7 @@ static void free_extensions(char **extensions){ } } -static int menu_open_dir(menu_t* menu,char* args) { +static int open_dir(menu_t* menu,char* args) { char **namelist, **tp; struct dirent *dp; struct stat st; @@ -312,13 +312,6 @@ bailout: return 1; } -static int open_dir(menu_t* menu,char* args) { - if (menu_open_dir(menu, args)) - return 1; - if (menu_chroot && menu_open_dir(menu, menu_chroot)) - return 1; - return 0; -} static char *action;