[project @ 2003-07-05 16:23:52 by bursa]

Improved status bar behaviour.

svn path=/import/netsurf/; revision=205
This commit is contained in:
James Bursa 2003-07-05 16:23:52 +00:00
parent 4f9bf0f0a1
commit 219ef195f5
1 changed files with 7 additions and 3 deletions

View File

@ -187,7 +187,7 @@ void browser_window_destroy(struct browser_window* bw)
if (bw->history != NULL)
{
struct history* current;
struct history* current = bw->history;
while (current->earlier != NULL)
current = current->earlier;
@ -588,8 +588,12 @@ void browser_window_follow_link(struct browser_window* bw,
}
}
if (click_type == 0 && done == 0)
browser_window_set_status(bw, "");
if (click_type == 0 && done == 0) {
if (bw->loading_content != 0)
browser_window_set_status(bw, bw->loading_content->status_message);
else
browser_window_set_status(bw, bw->current_content->status_message);
}
free(click_boxes);