summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
Diffstat (limited to 'editors')
-rw-r--r--editors/vi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/editors/vi.c b/editors/vi.c
index 7456649..461cf98 100644
--- a/editors/vi.c
+++ b/editors/vi.c
@@ -136,9 +136,9 @@ static char last_forward_char; // last char searched for with 'f'
#if ENABLE_FEATURE_VI_READONLY
//static smallint vi_readonly, readonly;
static smallint readonly_mode = 0;
-#define SET_READONLY_FILE(flags) ((flags) |= 0x01)
-#define SET_READONLY_MODE(flags) ((flags) |= 0x02)
-#define UNSET_READONLY_FILE(flags) ((flags) &= 0xfe)
+#define SET_READONLY_FILE(flags) ((flags) |= 0x01)
+#define SET_READONLY_MODE(flags) ((flags) |= 0x02)
+#define UNSET_READONLY_FILE(flags) ((flags) &= 0xfe)
#else
#define readonly_mode 0
#define SET_READONLY_FILE(flags)