summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-10-29 13:16:28 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-10-29 13:16:28 +0000
commit31d58e58d2ceea6c0a8e1e652384f1643685e5af (patch)
tree6a5b29f66276edbe6161a511e956407515574e88 /editors
parent1fe7887659353f43e6cdd1a2492178e11a7ee6d5 (diff)
downloadbusybox-w32-31d58e58d2ceea6c0a8e1e652384f1643685e5af.tar.gz
busybox-w32-31d58e58d2ceea6c0a8e1e652384f1643685e5af.tar.bz2
busybox-w32-31d58e58d2ceea6c0a8e1e652384f1643685e5af.zip
randomconfig fixes
Diffstat (limited to 'editors')
-rw-r--r--editors/vi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/editors/vi.c b/editors/vi.c
index 9f9a199fa..93e564756 100644
--- a/editors/vi.c
+++ b/editors/vi.c
@@ -270,7 +270,8 @@ struct globals {
270#define INIT_G() do { \ 270#define INIT_G() do { \
271 SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \ 271 SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \
272 last_file_modified = -1; \ 272 last_file_modified = -1; \
273 last_search_pattern = xzalloc(2); /* "" but has space for 2 chars */ \ 273 /* "" but has space for 2 chars: */ \
274 USE_FEATURE_VI_SEARCH(last_search_pattern = xzalloc(2);) \
274} while (0) 275} while (0)
275 276
276 277