diff src/normal.c @ 2024:451bed7e9572 v7.2.321

updated for version 7.2-321
author vimboss
date Thu, 24 Dec 2009 14:01:12 +0000
parents c8f343a465a2
children 70c67b1bb1f1
line wrap: on
line diff
--- a/src/normal.c
+++ b/src/normal.c
@@ -5602,6 +5602,7 @@ nv_ident(cap)
 	    STRCAT(buf, "\\>");
 #ifdef FEAT_CMDHIST
 	/* put pattern in search history */
+	init_history();
 	add_to_history(HIST_SEARCH, buf, TRUE, NUL);
 #endif
 	normal_search(cap, cmdchar == '*' ? '/' : '?', buf, 0);