From 3955da689384a6647dbcbbb38d5b70ef148e3e9e Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sat, 18 Aug 2018 11:22:23 +0200 Subject: [PATCH] src/gui/components/cc_types.h: fix default key for button labels First index = 0 not 1 --- src/gui/components/cc_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/components/cc_types.h b/src/gui/components/cc_types.h index ac592511c..fad00f87e 100644 --- a/src/gui/components/cc_types.h +++ b/src/gui/components/cc_types.h @@ -204,7 +204,7 @@ typedef struct button_label_cc button_label_cc(): button(NULL), text(std::string()), locale(NONEXISTANT_LOCALE), - directKeys(1, RC_NOKEY /*CRCInput::RC_nokey*/){} + directKeys(0, RC_NOKEY /*CRCInput::RC_nokey*/){} } button_label_cc_struct; #define CC_WIDTH_MIN CFrameBuffer::getInstance()->scale2Res(16)