Cleanup: Horizontal widget size is commonly width rather than length.

This commit is contained in:
2021-04-22 01:18:22 +01:00
committed by PeterN
parent 3dbd6475fe
commit 5153e1b6e3
2 changed files with 4 additions and 4 deletions

View File

@@ -543,7 +543,7 @@ private:
*/
class NWidgetSpacer : public NWidgetResizeBase {
public:
NWidgetSpacer(int length, int height);
NWidgetSpacer(int width, int height);
void SetupSmallestSize(Window *w, bool init_array) override;
void FillNestedArray(NWidgetBase **array, uint length) override;