changeset 25354:a4c4b56e933d

reverted r25323: deprecated by ulion's recent patches
author ben
date Wed, 12 Dec 2007 19:26:55 +0000
parents ccca461a3c10
children 3110688d2406
files libmenu/menu_filesel.c
diffstat 1 files changed, 1 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- 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;