summaryrefslogtreecommitdiff
path: root/session.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-01-09 21:59:51 -0500
committerpommicket <pommicket@gmail.com>2023-01-09 22:00:23 -0500
commit7f0255cb40bb85276191ec3ddffe507e53abf2ac (patch)
tree2376d10183d4085a7e8c85bba008f8ba3516d731 /session.c
parentce158f26b9136b3fc831c6325ad911e3bf403a4b (diff)
fixed a bunch of windows stuff
also compile_commands.json does fix the usages problem!
Diffstat (limited to 'session.c')
-rw-r--r--session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/session.c b/session.c
index a4c7744..8860cd1 100644
--- a/session.c
+++ b/session.c
@@ -338,7 +338,7 @@ void session_write(Ted *ted) {
success &= fclose(fp) == 0;
if (success) {
remove(filename2);
- rename(filename1, filename2); // overwrite old session
+ os_rename_overwrite(filename1, filename2); // overwrite old session
}
}
}