diff --git a/search.c b/search.c index 0145fb16..21aa6c05 100644 --- a/search.c +++ b/search.c @@ -91,6 +91,7 @@ int search_init(int replacing) if (ISSET(CLEAR_BACKUPSTRING)) { free(backupstring); backupstring = NULL; + UNSET(CLEAR_BACKUPSTRING); } /* Okay, fun time. backupstring is our holder for what is being