From 06ace6f3b67757e09dde16da0f28c0169ed6bc0e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 10 May 2015 16:16:40 +0300 Subject: Improve performance in button drawing. --- src/gui/widgets/button.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/widgets/button.h') diff --git a/src/gui/widgets/button.h b/src/gui/widgets/button.h index 9c9dce3cc..e568f8131 100644 --- a/src/gui/widgets/button.h +++ b/src/gui/widgets/button.h @@ -295,7 +295,7 @@ class Button final : public Widget, /** * Holds the spacing between the border and the caption. */ - unsigned int mSpacing; + int mSpacing[BUTTON_COUNT]; int mTag; int mMode; -- cgit v1.2.3-70-g09d2