# HG changeset patch # User ben # Date 1197487615 0 # Node ID a4c4b56e933de2ffd588e5e9f7d2413137706cb6 # Parent ccca461a3c10811b7647e687d11bdba0d66f9b81 reverted r25323: deprecated by ulion's recent patches diff -r ccca461a3c10 -r a4c4b56e933d libmenu/menu_filesel.c --- a/libmenu/menu_filesel.c Wed Dec 12 16:25:56 2007 +0000 +++ b/libmenu/menu_filesel.c Wed Dec 12 19:26:55 2007 +0000 @@ -200,7 +200,7 @@ } } -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 @@ 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;