summaryrefslogtreecommitdiff
path: root/os-win.c
diff options
context:
space:
mode:
Diffstat (limited to 'os-win.c')
-rw-r--r--os-win.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os-win.c b/os-win.c
index 8dd8ce8..043d54f 100644
--- a/os-win.c
+++ b/os-win.c
@@ -123,7 +123,7 @@ int os_rename_overwrite(const char *oldname, const char *newname) {
// it's keeping an open handle to main.c in ted. presumably blocks deletion but not writing.
// ReplaceFileW has the same problem.
// if (CreateHardLinkW(wide_oldname, wide_newname, NULL) == 0)
-// return -1;
+// return -1
if (remove(oldname) != 0)
return -1;
return 0;