* hotlist.c (load_hotlist): If cannot open hotlist, don't assume

that it needs to be migrated and don't warn the user.
This commit is contained in:
Pavel Roskin 2001-09-09 05:46:44 +00:00
parent 27a58d6bb4
commit 192d6c1853
2 changed files with 5 additions and 10 deletions

View File

@ -1,3 +1,8 @@
2001-09-09 Pavel Roskin <proski@gnu.org>
* hotlist.c (load_hotlist): If cannot open hotlist, don't assume
that it needs to be migrated and don't warn the user.
2001-09-08 Pavel Roskin <proski@gnu.org>
* Makefile.am: Fix definitions of CONFDIR and LOCALEDIR.

View File

@ -1356,17 +1356,7 @@ void load_hotlist (void)
if ((hotlist_file = fopen (hotlist_file_name, "r")) == 0) {
int result;
char *msg;
msg = g_strconcat (_("Hotlist is now kept in file ~/"),
HOTLIST_FILENAME, "\n",
_("MC will load hotlist from ~/"),
PROFILE_NAME, "\n",
_("and then delete [Hotlist] section there"),
NULL);
message (0, _(" Hotlist Load "), msg);
g_free (msg);
load_group (hotlist);
hotlist_state.loaded = 1;
/*