Codechange: Scrollbar methods now accept size_t.
This clears up a lot of casts from size_t to int.
This commit is contained in:
@@ -1055,7 +1055,7 @@ struct SpriteAlignerWindow : Window {
|
||||
if (data == 1) {
|
||||
/* Sprite picker finished */
|
||||
this->RaiseWidget(WID_SA_PICKER);
|
||||
this->vscroll->SetCount((uint)_newgrf_debug_sprite_picker.sprites.size());
|
||||
this->vscroll->SetCount(_newgrf_debug_sprite_picker.sprites.size());
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user