From 1a66c0aae0da7c3b860d06e72f5ff87f444bc462 Mon Sep 17 00:00:00 2001 From: Eduard Braun Date: Thu, 15 Jun 2017 18:12:00 +0200 Subject: Improve Windows relocation support. Remove a lot of unused / overly compicated path manipulation functions and replace them with a solution that also handles the case where inkscape.exe is located in a /bin subdirectory. --- src/prefix.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/prefix.h') diff --git a/src/prefix.h b/src/prefix.h index 7c5a1fd3c..fc01fd7ea 100644 --- a/src/prefix.h +++ b/src/prefix.h @@ -122,10 +122,9 @@ char *br_extract_prefix(const char *path); #include -Glib::ustring win32_getExePath(); -char *win32_relative_path(const char *childPath); +char *win32_append_module_path(const char *relative_path); -#define WIN32_DATADIR(suffix) (win32_relative_path(suffix)) +#define WIN32_DATADIR(suffix) (win32_append_module_path(suffix)) #endif -- cgit v1.2.3