[project @ 2005-07-24 03:13:51 by adrianl]

Convert title to local encoding before display

svn path=/import/netsurf/; revision=1819
This commit is contained in:
Adrian Lees 2005-07-24 03:13:51 +00:00
parent f8750d2d4d
commit eed08b3250

View File

@ -352,7 +352,6 @@ void ro_gui_window_quit(void)
void gui_window_set_title(struct gui_window *g, const char *title)
{
os_error *error;
int scale_disp;
assert(g);
@ -368,12 +367,8 @@ void gui_window_set_title(struct gui_window *g, const char *title)
} else {
strncpy(g->title, title, sizeof g->title);
}
error = xwimp_force_redraw_title(g->window);
if (error) {
LOG(("xwimp_force_redraw_title: 0x%x: %s",
error->errnum, error->errmess));
warn_user("WimpError", error->errmess);
}
ro_gui_set_window_title(g->window, g->title);
}