mirror of
https://github.com/opentx/opentx.git
synced 2025-07-26 09:45:21 +03:00
[Horus] Custom switch names badly displayed
This commit is contained in:
parent
39c7e56b16
commit
2e78dad1a7
1 changed files with 1 additions and 1 deletions
|
@ -295,7 +295,7 @@ char * getSwitchString(char * dest, swsrc_t idx)
|
||||||
if (idx <= SWSRC_LAST_SWITCH) {
|
if (idx <= SWSRC_LAST_SWITCH) {
|
||||||
div_t swinfo = switchInfo(idx);
|
div_t swinfo = switchInfo(idx);
|
||||||
if (ZEXIST(g_eeGeneral.switchNames[swinfo.quot])) {
|
if (ZEXIST(g_eeGeneral.switchNames[swinfo.quot])) {
|
||||||
zchar2str(s, g_eeGeneral.switchNames[swinfo.quot], LEN_SWITCH_NAME);
|
s += zchar2str(s, g_eeGeneral.switchNames[swinfo.quot], LEN_SWITCH_NAME);
|
||||||
// TODO tous zchar2str
|
// TODO tous zchar2str
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue