summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-08-15 10:56:34 -0400
committerpommicket <pommicket@gmail.com>2023-08-15 10:56:34 -0400
commit2515bf34a97620ffbfcf5db8451c422ccf132cf8 (patch)
tree4758ae1fe8aad9c9ba905913d586710795ee6a59 /main.c
parentad8c5d1466eb8edf2e6343f28026ae993ac31f2c (diff)
fix iwndows build
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index ea0db56..642639e 100644
--- a/main.c
+++ b/main.c
@@ -353,7 +353,7 @@ int main(int argc, char **argv) {
wchar_t *appdata = NULL;
KNOWNFOLDERID id = FOLDERID_LocalAppData;
if (SHGetKnownFolderPath(&id, 0, NULL, &appdata) == S_OK) {
- strbuf_printf(ted->local_data_dir, "%ls" PATH_SEPARATOR_STR "ted", appdata);
+ strbuf_printf(ted->local_data_dir, "%ls%cted", appdata, PATH_SEPARATOR);
CoTaskMemFree(appdata);
}
id = FOLDERID_Profile;