From 60fff98ce7d66aaad1dc979b41c4f13bc357ced0 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sun, 19 Aug 2018 21:14:55 +0200 Subject: [PATCH] src/gui/components/cc_types.h: fix default key for button labels First index = 0 not 1 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/c8e85c36f1ac22000e169d921b31f05d0245473e Author: Thilo Graf Date: 2018-08-19 (Sun, 19 Aug 2018) ------------------ This commit was generated by Migit --- 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)