show dir to be deleted while remove game

This commit is contained in:
p.kosyh 2011-03-15 13:00:04 +00:00
parent 6429c46113
commit 0e0d0d0c37
5 changed files with 7 additions and 2 deletions

View file

@ -124,5 +124,6 @@ BROWSE_MENU = \
REMOVE_MENU = \
Remove the game?\n\
%s\n\
\n\
<a:/remove>Yes</a> | <a:/select>No</a>

View file

@ -124,5 +124,6 @@ BROWSE_MENU = \
REMOVE_MENU = \
¿Quitar el juego?\n\
%s\n\
\n\
<a:/remove>Yes</a> | <a:/select>No</a>

View file

@ -124,5 +124,6 @@ BROWSE_MENU = \
REMOVE_MENU = \
Rimuovere il gioco?\n\
%s\n\
\n\
<a:/remove>Si</a> | <a:/select>No</a>

View file

@ -125,5 +125,6 @@ BROWSE_MENU = \
REMOVE_MENU = \
Удалить игру?\n\
%s\n\
\n\
<a:/remove>Да</a> | <a:/select>Нет</a>

View file

@ -331,6 +331,8 @@ static char *opt_get_mode(void)
return buff;
}
static int gtr = 0;
char *game_menu_gen(void)
{
if (cur_menu == menu_main) {
@ -371,7 +373,7 @@ char *game_menu_gen(void)
WARNING_MENU, err_msg?err_msg:UNKNOWN_ERROR);
game_err_msg(NULL);
} else if (cur_menu == menu_remove) {
snprintf(menu_buff, sizeof(menu_buff), "%s", REMOVE_MENU);
snprintf(menu_buff, sizeof(menu_buff), REMOVE_MENU, games[gtr].path);
}
return menu_buff;
}
@ -379,7 +381,6 @@ char *game_menu_gen(void)
int game_menu_act(const char *a)
{
static int gtr = 0;
static int old_vol = 0;
if (!strcmp(a, "/autosave")) {