Fix virus crash

This commit is contained in:
Pasi Kallinen 2012-05-21 17:32:50 +03:00
parent 41d7edf4a4
commit 25ee1a3386
1 changed files with 1 additions and 0 deletions

View File

@ -1178,6 +1178,7 @@ do_cmd (Byte c)
// user changed mind and erased the "/"- do nothing
break;
case 'N': // N- backward search for last pattern
if (last_search_pattern == 0) break;
if (cmdcnt-- > 1)
{
do_cmd (c);