From 38cb39339a8f1f9a0afb69340a404fd767db5a79 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Thu, 16 Jan 2014 00:01:25 +0000 Subject: move filename_from_path and path_add_part into gui operation tables --- content/fetchers/curl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'content/fetchers/curl.c') diff --git a/content/fetchers/curl.c b/content/fetchers/curl.c index 7578ad4cb..92d4625b5 100644 --- a/content/fetchers/curl.c +++ b/content/fetchers/curl.c @@ -45,6 +45,7 @@ #include "content/fetchers/curl.h" #include "content/urldb.h" #include "desktop/netsurf.h" +#include "desktop/gui_factory.h" #include "utils/nsoption.h" #include "utils/log.h" #include "utils/messages.h" @@ -1268,7 +1269,7 @@ fetch_curl_post_convert(const struct fetch_multipart_data *control) if (control->file) { char *leafname = 0; - leafname = filename_from_path(control->value); + leafname = guit->browser->filename_from_path(control->value); if (leafname == NULL) continue; -- cgit v1.2.3