equal
deleted
inserted
replaced
543 this->SortTownList(); |
543 this->SortTownList(); |
544 |
544 |
545 SetVScrollCount(this, this->towns.Length()); |
545 SetVScrollCount(this, this->towns.Length()); |
546 |
546 |
547 this->DrawWidgets(); |
547 this->DrawWidgets(); |
548 this->DrawSortButtonState(this->towns.sort_type == 0 ? TDW_SORTNAME : TDW_SORTPOPULATION, this->towns.IsDescSortOrder() ? SBS_DOWN : SBS_UP); |
548 this->DrawSortButtonState(this->towns.SortType() == 0 ? TDW_SORTNAME : TDW_SORTPOPULATION, this->towns.IsDescSortOrder() ? SBS_DOWN : SBS_UP); |
549 |
549 |
550 { |
550 { |
551 int n = 0; |
551 int n = 0; |
552 uint16 i = this->vscroll.pos; |
552 uint16 i = this->vscroll.pos; |
553 int y = 28; |
553 int y = 28; |