From 7af605d1d42b2760799e816b7b25efe90a07d269 Mon Sep 17 00:00:00 2001 From: Tomáš Chvátal Date: Wed, 9 Dec 2009 21:50:27 +0100 Subject: Add most parts of Timoo's windows code, or use different logic to get to the same results. --- src/base/textFile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/base/textFile.c') diff --git a/src/base/textFile.c b/src/base/textFile.c index d04d8e6..b1c2ad9 100644 --- a/src/base/textFile.c +++ b/src/base/textFile.c @@ -19,7 +19,7 @@ textFile_t *text_file_new(char *s) strcpy(path, s); } else { getcwd(path, STR_PATH_SIZE); - strcat(path, "/"); + strcat(path, PATH_SEPARATOR); strcat(path, s); } -- cgit v1.2.3