From 01c0942ad2bb97680c18399ba6349dfa3e8d4af3 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 3 Aug 2007 11:08:12 +0000 Subject: [PATCH] fixed amb708 - render algorithm didn't draw descending pagination right --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401263 --- core/MenuManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/MenuManager.cpp b/core/MenuManager.cpp index 887d8a92..b3f450d8 100644 --- a/core/MenuManager.cpp +++ b/core/MenuManager.cpp @@ -637,7 +637,7 @@ skip_search: { position = display->DrawItem(dr); } - if ((position = display->DrawItem(dr)) != 0) + if (position != 0) { slots[position].item = drawItems[i].position; slots[position].type = ItemSel_Item;