From fc011f01b9006892cef5829ce85bcbb0608f6a15 Mon Sep 17 00:00:00 2001 From: Ianos Gnatiuc Date: Wed, 12 Oct 2005 01:34:08 +0000 Subject: [PATCH] fix goto_next_area menu exit direction when have 0 or 1 message in area --- golded3/gemnus.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/golded3/gemnus.cpp b/golded3/gemnus.cpp index 532d9ea..0a0df57 100644 --- a/golded3/gemnus.cpp +++ b/golded3/gemnus.cpp @@ -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; }