Changed hotkeys behavior in goto_next_area menu

This commit is contained in:
Ianos Gnatiuc 2005-10-16 21:19:40 +00:00
parent aa50955806
commit 3e941b03a7

View File

@ -221,14 +221,10 @@ int GMenuNewarea::Run() {
HandleGEvent(EVTT_ENDOFMSGS); HandleGEvent(EVTT_ENDOFMSGS);
uint _temp = AA->lastread();
gkey _yeskey = Key_Rgt; gkey _yeskey = Key_Rgt;
gkey _nokey = Key_Lft; gkey _nokey = Key_Lft;
if(AA->isreadmark) if (reader_direction == DIR_PREV)
_temp = AA->Mark.Find(AA->Msgn.CvtReln(AA->lastread()));
if ((_temp <= 1) && (AA->Msgn.Count() > 1))
{ {
_yeskey = Key_Lft; _yeskey = Key_Lft;
_nokey = Key_Rgt; _nokey = Key_Rgt;