summaryrefslogtreecommitdiff
path: root/editors/vi.c
diff options
context:
space:
mode:
Diffstat (limited to 'editors/vi.c')
-rw-r--r--editors/vi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/vi.c b/editors/vi.c
index 31bc255..67606f9 100644
--- a/editors/vi.c
+++ b/editors/vi.c
@@ -330,7 +330,7 @@ int vi_main(int argc, char **argv)
last_status_cksum = 0;
text = NULL;
- if (ENABLE_FEATURE_VI_READONLY && strncmp(appliet_name, "view", 4) == 0) {
+ if (ENABLE_FEATURE_VI_READONLY && strncmp(applet_name, "view", 4) == 0) {
SET_READONLY_MODE(readonly_mode);
}