mirror of
https://github.com/paxed/dgamelaunch.git
synced 2025-07-26 23:24:38 +02:00
Fix virus crash
This commit is contained in:
parent
41d7edf4a4
commit
25ee1a3386
1
virus.c
1
virus.c
@ -1178,6 +1178,7 @@ do_cmd (Byte c)
|
|||||||
// user changed mind and erased the "/"- do nothing
|
// user changed mind and erased the "/"- do nothing
|
||||||
break;
|
break;
|
||||||
case 'N': // N- backward search for last pattern
|
case 'N': // N- backward search for last pattern
|
||||||
|
if (last_search_pattern == 0) break;
|
||||||
if (cmdcnt-- > 1)
|
if (cmdcnt-- > 1)
|
||||||
{
|
{
|
||||||
do_cmd (c);
|
do_cmd (c);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user