|
|
@ -1,4 +1,4 @@
|
|
|
|
/* $Id: menu.c,v 1.36 2004/01/06 19:52:02 stpohle Exp $
|
|
|
|
/* $Id: menu.c,v 1.37 2004/01/24 23:47:28 stpohle Exp $
|
|
|
|
* Menuhandling */
|
|
|
|
* Menuhandling */
|
|
|
|
|
|
|
|
|
|
|
|
#include "basic.h"
|
|
|
|
#include "basic.h"
|
|
|
@ -481,7 +481,8 @@ menu_dir_select (char *title, char *path, signed char dirflags) {
|
|
|
|
menuselect = menu_loop ();
|
|
|
|
menuselect = menu_loop ();
|
|
|
|
menu_delete ();
|
|
|
|
menu_delete ();
|
|
|
|
|
|
|
|
|
|
|
|
if (menuselect < 0) return NULL;
|
|
|
|
if (menuselect < 0 || selfile-&flist[0] < 0 || selfile-&flist[0] >= flcnt)
|
|
|
|
|
|
|
|
return NULL;
|
|
|
|
|
|
|
|
|
|
|
|
strncpy (menu_dir_name, selfile->text, LEN_PATHFILENAME);
|
|
|
|
strncpy (menu_dir_name, selfile->text, LEN_PATHFILENAME);
|
|
|
|
return menu_dir_name;
|
|
|
|
return menu_dir_name;
|
|
|
|