projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eaabf06
)
vi: s/argv[0]/applet_name/
author
Denis Vlasenko
<vda.linux@googlemail.com>
Tue, 17 Jul 2007 23:18:26 +0000
(23:18 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Tue, 17 Jul 2007 23:18:26 +0000
(23:18 -0000)
editors/vi.c
patch
|
blob
|
history
diff --git
a/editors/vi.c
b/editors/vi.c
index 2abaf88b8ef00917822dd7d18ffa3659b8f7fb0e..31bc25556dcabc6518e8aec323627477d065a2d8 100644
(file)
--- 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(a
rgv[0]
, "view", 4) == 0) {
+ if (ENABLE_FEATURE_VI_READONLY && strncmp(a
ppliet_name
, "view", 4) == 0) {
SET_READONLY_MODE(readonly_mode);
}