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
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment