Skip to content
Snippets Groups Projects
Commit 91ea951d authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Break scan loop on abort (Ctrl-C)

Fixes issue #926
parent 01b5315d
No related branches found
No related tags found
No related merge requests found
Pipeline #8953 passed
......@@ -771,8 +771,11 @@ int sbbs_t::scanposts(int subnum, int mode, const char *find)
}
}
}
else
else {
if (sys_status & SS_ABORT)
break;
domsg = 1;
}
if (mode & SCAN_CONT) {
if (smb.curmsg < smb.msgs - 1)
smb.curmsg++;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment