Skip to content

Commit ecad4d6

Browse files
authored
fix(color): crash in SF list when using CN/TW translations (#4862)
1 parent 4b8f80a commit ecad4d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: radio/src/gui/colorlcd/special_functions.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ void FunctionLineButton::refresh()
187187

188188
uint8_t func = CFN_FUNC(cfn);
189189

190-
char s[32];
190+
char s[64];
191191

192192
lv_label_set_text(sfName, (prefix + std::to_string(index + 1)).c_str());
193193
lv_label_set_text(sfSwitch, getSwitchPositionName(CFN_SWITCH(cfn)));

0 commit comments

Comments
 (0)