From 66f6e9eff5c2b9f0d5c0bcffcfbc93bf2edaa7b3 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Thu, 17 Mar 2011 11:26:30 +0000 Subject: Rename utils/resource to utils/filepath to avoid confusion with resource: fetcher. svn path=/trunk/netsurf/; revision=12088 --- framebuffer/findfile.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'framebuffer/findfile.c') diff --git a/framebuffer/findfile.c b/framebuffer/findfile.c index ba4f87218..b864b2ba5 100644 --- a/framebuffer/findfile.c +++ b/framebuffer/findfile.c @@ -25,9 +25,9 @@ #include +#include "utils/filepath.h" #include "utils/log.h" #include "utils/url.h" -#include "utils/resource.h" #include "content/fetchers/resource.h" #include "framebuffer/findfile.h" @@ -47,11 +47,11 @@ fb_init_resource(const char *resource_path) char **respath; /* resource paths vector */ const char *lang = NULL; - pathv = resource_path_to_strvec(resource_path); + pathv = filepath_path_to_strvec(resource_path); - respath = resource_generate(pathv, &lang); + respath = filepath_generate(pathv, &lang); - resource_free_strvec(pathv); + filepath_free_strvec(pathv); return respath; } @@ -95,7 +95,7 @@ char *url_to_path(const char *url) char* gui_find_resource(const char *filename) { char buf[PATH_MAX]; - return path_to_url(resource_sfind(respaths, buf, filename)); + return path_to_url(filepath_sfind(respaths, buf, filename)); } /* -- cgit v1.2.3