Codechange: Scrollbar methods now accept size_t.
This clears up a lot of casts from size_t to int.
This commit is contained in:
@@ -308,7 +308,7 @@ struct SignListWindow : Window, SignList {
|
||||
{
|
||||
if (this->signs.NeedRebuild()) {
|
||||
this->BuildSignsList();
|
||||
this->vscroll->SetCount((uint)this->signs.size());
|
||||
this->vscroll->SetCount(this->signs.size());
|
||||
this->SetWidgetDirty(WID_SIL_CAPTION);
|
||||
}
|
||||
this->SortSignsList();
|
||||
|
Reference in New Issue
Block a user