aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
Diffstat (limited to 'editors')
-rw-r--r--editors/vi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/vi.c b/editors/vi.c
index fb46dc381..31b5d3e8a 100644
--- a/editors/vi.c
+++ b/editors/vi.c
@@ -2938,7 +2938,7 @@ static void colon(char *buf)
2938 fn = args; 2938 fn = args;
2939 } 2939 }
2940# if ENABLE_FEATURE_VI_READONLY 2940# if ENABLE_FEATURE_VI_READONLY
2941 if (readonly_mode && !useforce) { 2941 else if (readonly_mode && !useforce) {
2942 status_line_bold("'%s' is read only", fn); 2942 status_line_bold("'%s' is read only", fn);
2943 goto ret; 2943 goto ret;
2944 } 2944 }