aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-06-22 13:20:42 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-06-22 13:20:42 +0000
commit2a210e5df2a4d4951ede95cde04af1c9507212f7 (patch)
tree30de60e027682b04df41daf97974ad6d126386d7 /editors
parentb07a49622975ec6f92c008388fc5cb1e6a9e25f4 (diff)
downloadbusybox-2a210e5df2a4d4951ede95cde04af1c9507212f7.tar.gz
vi: fix vda's breakage (by Cristian Ionescu-Idbohrn)
Diffstat (limited to 'editors')
-rw-r--r--editors/vi.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/editors/vi.c b/editors/vi.c
index 86d418025..024a1db94 100644
--- a/editors/vi.c
+++ b/editors/vi.c
@@ -255,11 +255,11 @@ struct globals {
#define erase_char (G.erase_char )
#define last_input_char (G.last_input_char )
#define last_forward_char (G.last_forward_char )
-#if ENABLE_FEATURE_VI_READONLY
+#if ENABLE_FEATURE_VI_READONLY
#define readonly_mode (G.readonly_mode )
-#else
-#define readonly_mode 0 readonly_mode )
-#endif
+#else
+#define readonly_mode 0
+#endif
#define adding2q (G.adding2q )
#define lmc_len (G.lmc_len )
#define ioq (G.ioq )
@@ -269,7 +269,7 @@ struct globals {
#define modifying_cmds (G.modifying_cmds )
#define last_search_pattern (G.last_search_pattern)
#define chars_to_parse (G.chars_to_parse )
-
+
#define edit_file__cur_line (G.edit_file__cur_line)
#define refresh__old_offset (G.refresh__old_offset)
#define format_edit_status__tot (G.format_edit_status__tot)