summaryrefslogtreecommitdiff
path: root/src/gmutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gmutil.c')
-rw-r--r--src/gmutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gmutil.c b/src/gmutil.c
index 2b40367d..e3121b1f 100644
--- a/src/gmutil.c
+++ b/src/gmutil.c
@@ -365,7 +365,7 @@ void punyEncodeUrlHost_String(iString *d) {
365} 365}
366 366
367iString *makeFileUrl_String(const iString *localFilePath) { 367iString *makeFileUrl_String(const iString *localFilePath) {
368 iString *url = cleaned_Path(localFilePath); 368 iString *url = makeAbsolute_Path(collect_String(cleaned_Path(localFilePath)));
369 replace_Block(&url->chars, '\\', '/'); /* in case it's a Windows path */ 369 replace_Block(&url->chars, '\\', '/'); /* in case it's a Windows path */
370 set_String(url, collect_String(urlEncodeExclude_String(url, "/:"))); 370 set_String(url, collect_String(urlEncodeExclude_String(url, "/:")));
371#if defined (iPlatformMsys) 371#if defined (iPlatformMsys)