From 31d58e58d2ceea6c0a8e1e652384f1643685e5af Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Wed, 29 Oct 2008 13:16:28 +0000 Subject: randomconfig fixes --- editors/vi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'editors') 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 { #define INIT_G() do { \ SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \ last_file_modified = -1; \ - last_search_pattern = xzalloc(2); /* "" but has space for 2 chars */ \ + /* "" but has space for 2 chars: */ \ + USE_FEATURE_VI_SEARCH(last_search_pattern = xzalloc(2);) \ } while (0) -- cgit v1.2.3