From 6b8a758339b18d6323b4458f3402aead93b5e0cd Mon Sep 17 00:00:00 2001 From: skidd13 Date: Mon, 16 Jun 2008 17:05:17 +0000 Subject: (svn r13533) -Codechange: Replace direct class member access of GUIList with the appropriate function calls --- src/bridge_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bridge_gui.cpp') diff --git a/src/bridge_gui.cpp b/src/bridge_gui.cpp index e50e7aeb9..ed66dcce9 100644 --- a/src/bridge_gui.cpp +++ b/src/bridge_gui.cpp @@ -151,7 +151,7 @@ public: { this->DrawWidgets(); - this->DrawSortButtonState(BBSW_DROPDOWN_ORDER, (this->bridges->flags & VL_DESC) ? SBS_DOWN : SBS_UP); + this->DrawSortButtonState(BBSW_DROPDOWN_ORDER, this->bridges->IsDescSortOrder() ? SBS_DOWN : SBS_UP); uint y = this->widget[BBSW_BRIDGE_LIST].top + 2; -- cgit v1.2.3-70-g09d2