fix goto_next_area menu exit direction when have 0 or 1 message in area

This commit is contained in:
Ianos Gnatiuc 2005-10-12 01:34:08 +00:00
parent 62c27d5dcf
commit fc011f01b9

View File

@ -228,7 +228,8 @@ int GMenuNewarea::Run() {
if(AA->isreadmark)
_temp = AA->Mark.Find(AA->Msgn.CvtReln(AA->lastread()));
if(_temp <= 1) {
if ((_temp <= 1) && (AA->Msgn.Count() > 1))
{
_yeskey = Key_Lft;
_nokey = Key_Rgt;
}