(svn r13533) -Codechange: Replace direct class member access of GUIList with the appropriate function calls

This commit is contained in:
skidd13
2008-06-16 17:05:17 +00:00
parent 5e956bf57f
commit 96e898699c
2 changed files with 2 additions and 2 deletions

View File

@@ -151,7 +151,7 @@ public:
{ {
this->DrawWidgets(); 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; uint y = this->widget[BBSW_BRIDGE_LIST].top + 2;

View File

@@ -545,7 +545,7 @@ public:
SetVScrollCount(this, this->towns.Length()); SetVScrollCount(this, this->towns.Length());
this->DrawWidgets(); 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; int n = 0;