mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-27 16:59:36 +03:00
[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:
parent
912d09b1cb
commit
d6ceb37fad
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user