get rid of the filename in the delete bookmark confirmation as its not really helpful

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24023 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2009-12-16 08:38:27 +00:00
parent e425371e10
commit 4e89025935

View file

@ -765,16 +765,14 @@ static char* select_bookmark(const char* bookmark_file_name, bool show_dont_resu
if (item >= 0) if (item >= 0)
{ {
const char *lines[]={ const char *lines[]={
ID2P(LANG_REALLY_DELETE), ID2P(LANG_REALLY_DELETE)
bookmark_file_name
}; };
const char *yes_lines[]={ const char *yes_lines[]={
ID2P(LANG_DELETING), ID2P(LANG_DELETING)
bookmark_file_name
}; };
const struct text_message message={lines, 2}; const struct text_message message={lines, 1};
const struct text_message yes_message={yes_lines, 2}; const struct text_message yes_message={yes_lines, 1};
if(gui_syncyesno_run(&message, &yes_message, NULL)==YESNO_YES) if(gui_syncyesno_run(&message, &yes_message, NULL)==YESNO_YES)
{ {