[project @ 2004-08-11 16:27:30 by jmb]

Cast correctly for url_nice - missed from url function work a couple of days ago

svn path=/import/netsurf/; revision=1209
This commit is contained in:
John Mark Bell 2004-08-11 16:27:30 +00:00
parent 912d09b1cb
commit d6ceb37fad

View File

@ -103,7 +103,7 @@ void ro_gui_save_open(gui_save_type save_type, struct content *c,
/* filename */
name = gui_save_table[save_type].name;
if (c) {
if ((res = url_nice(c->url, &nice)) == URL_FUNC_OK)
if ((res = url_nice(c->url, (char **)&nice)) == URL_FUNC_OK)
name = nice;
}
ro_gui_set_icon_string(dialog_saveas, ICON_SAVE_PATH, name);