src/gui/components/cc_types.h: fix default key for button labels

First index = 0 not 1
This commit is contained in:
2018-08-18 11:22:23 +02:00
parent 047366e45d
commit 3955da6893

View File

@@ -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)