summaryrefslogtreecommitdiff
path: root/editors/patch.c
diff options
context:
space:
mode:
Diffstat (limited to 'editors/patch.c')
-rw-r--r--editors/patch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/patch.c b/editors/patch.c
index a37f4e6..a2d593d 100644
--- a/editors/patch.c
+++ b/editors/patch.c
@@ -136,7 +136,7 @@ int patch_main(int argc ATTRIBUTE_UNUSED, char **argv)
src_stream = NULL;
if (backup_filename && !stat(original_filename, &saved_stat)) {
- src_stream = xfopen((strcmp(original_filename, new_filename)) ?
+ src_stream = xfopen((strcmp(original_filename, new_filename)) ?
original_filename : backup_filename, "r");
}