Skip to content

Commit

Permalink
iface_set_status() works if interface was not initialized.
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.daper.net/moc/trunk@1687 910807d9-36e0-0310-a014-e9ea483e2ba4
  • Loading branch information
daper committed Sep 30, 2005
1 parent 41bf86f commit cb96508
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions interface_elements.c
Original file line number Diff line number Diff line change
Expand Up @@ -2528,8 +2528,10 @@ void iface_set_status (const char *msg)
{
assert (msg != NULL);

info_win_set_status (&info_win, msg);
wrefresh (info_win.win);
if (iface_initialized) {
info_win_set_status (&info_win, msg);
wrefresh (info_win.win);
}
}

static void iface_show_num_files (const int num)
Expand Down

0 comments on commit cb96508

Please sign in to comment.