summaryrefslogtreecommitdiff
path: root/editors/vi.c
diff options
context:
space:
mode:
Diffstat (limited to 'editors/vi.c')
-rw-r--r--editors/vi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/vi.c b/editors/vi.c
index 8ff118ffb..fa30cf29c 100644
--- a/editors/vi.c
+++ b/editors/vi.c
@@ -3501,8 +3501,8 @@ key_cmd_mode:
3501 if (file_modified) { 3501 if (file_modified) {
3502#ifdef CONFIG_FEATURE_VI_READONLY 3502#ifdef CONFIG_FEATURE_VI_READONLY
3503 if (vi_readonly || readonly) { 3503 if (vi_readonly || readonly) {
3504 psbs("\"%s\" File is read only", cfn); 3504 psbs("\"%s\" File is read only", cfn);
3505 break; 3505 break;
3506 } 3506 }
3507#endif /* CONFIG_FEATURE_VI_READONLY */ 3507#endif /* CONFIG_FEATURE_VI_READONLY */
3508 cnt = file_write(cfn, text, end - 1); 3508 cnt = file_write(cfn, text, end - 1);