summaryrefslogtreecommitdiff
path: root/ted-base.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-01-21 19:13:40 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-01-21 19:13:40 -0500
commit46a02444bdeac16474e31c4e836b118c07f8f57f (patch)
tree3b8079c0e19704c5c0c45ca838c84a35d4ad608c /ted-base.c
parent8fca7beaf35cfc438d5d29f352f80dd18efe7d2e (diff)
trying to make clicking on directories work; not done yet
Diffstat (limited to 'ted-base.c')
-rw-r--r--ted-base.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ted-base.c b/ted-base.c
index c3aff0e..001cb94 100644
--- a/ted-base.c
+++ b/ted-base.c
@@ -56,12 +56,12 @@ static Status ted_get_file(char const *name, char *out, size_t outsz) {
return true;
}
if (*ted_local_data_dir) {
- str_printf(out, outsz, "%s" PATH_SEPARATOR "%s", ted_local_data_dir, name);
+ str_printf(out, outsz, "%s" PATH_SEPARATOR_STR "%s", ted_local_data_dir, name);
if (fs_file_exists(out))
return true;
}
if (*ted_global_data_dir) {
- str_printf(out, outsz, "%s" PATH_SEPARATOR "%s", ted_global_data_dir, name);
+ str_printf(out, outsz, "%s" PATH_SEPARATOR_STR "%s", ted_global_data_dir, name);
if (fs_file_exists(out))
return true;
}