Skip to content
Snippets Groups Projects
Commit 970d9773 authored by rswindell's avatar rswindell
Browse files

Fixed bug when hitting 'Q' from mail list didn't quit:

Assigning result of long getnum() to ulong and comparing for >0.
parent e380d7fd
No related branches found
No related tags found
No related merge requests found
......@@ -121,7 +121,7 @@ void sbbs_t::readmail(uint usernumber, int which)
ASYNC;
if(!(sys_status&SS_ABORT)) {
bprintf(text[StartWithN],1L);
if((curmsg=getnum(msgs))>0)
if((long)(curmsg=getnum(msgs))>0)
curmsg--;
else if(curmsg==-1) {
FREE(mail);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment