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/town_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/town_gui.cpp') diff --git a/src/town_gui.cpp b/src/town_gui.cpp index 77e84aafa..241b60d6d 100644 --- a/src/town_gui.cpp +++ b/src/town_gui.cpp @@ -545,7 +545,7 @@ public: SetVScrollCount(this, this->towns.Length()); this->DrawWidgets(); - this->DrawSortButtonState(this->towns.sort_type == 0 ? TDW_SORTNAME : TDW_SORTPOPULATION, this->towns.IsDescSortOrder() ? SBS_DOWN : SBS_UP); + this->DrawSortButtonState(this->towns.SortType() == 0 ? TDW_SORTNAME : TDW_SORTPOPULATION, this->towns.IsDescSortOrder() ? SBS_DOWN : SBS_UP); { int n = 0; -- cgit v1.2.3-70-g09d2