diff options
author | pommicket <pommicket@gmail.com> | 2023-08-15 10:56:34 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-08-15 10:56:34 -0400 |
commit | 2515bf34a97620ffbfcf5db8451c422ccf132cf8 (patch) | |
tree | 4758ae1fe8aad9c9ba905913d586710795ee6a59 /main.c | |
parent | ad8c5d1466eb8edf2e6343f28026ae993ac31f2c (diff) |
fix iwndows build
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |