From 5153e1b6e38a75ef6eeb71760941018139feedea Mon Sep 17 00:00:00 2001 From: Peter Nelson Date: Thu, 22 Apr 2021 01:18:22 +0100 Subject: Cleanup: Horizontal widget size is commonly width rather than length. --- src/widget_type.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/widget_type.h') diff --git a/src/widget_type.h b/src/widget_type.h index e1fd92f63..c4c46ce66 100644 --- a/src/widget_type.h +++ b/src/widget_type.h @@ -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; -- cgit v1.2.3-54-g00ecf