commit | 31d58e58d2ceea6c0a8e1e652384f1643685e5af | [log] [tgz] |
---|---|---|
author | Denis Vlasenko <vda.linux@googlemail.com> | Wed Oct 29 13:16:28 2008 +0000 |
committer | Denis Vlasenko <vda.linux@googlemail.com> | Wed Oct 29 13:16:28 2008 +0000 |
tree | 6a5b29f66276edbe6161a511e956407515574e88 | |
parent | 1fe7887659353f43e6cdd1a2492178e11a7ee6d5 [diff] [blame] |
randomconfig fixes
diff --git a/editors/vi.c b/editors/vi.c index 9f9a199..93e5647 100644 --- a/editors/vi.c +++ b/editors/vi.c
@@ -270,7 +270,8 @@ #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)