mirror of
https://github.com/opentx/opentx.git
synced 2025-07-14 11:59:50 +03:00
Cosmetics
This commit is contained in:
parent
6504b4f69c
commit
f5c60a86a9
24 changed files with 171 additions and 126 deletions
|
@ -218,8 +218,8 @@ char * getCurveString(char * dest, int idx)
|
|||
idx = -idx;
|
||||
}
|
||||
|
||||
if (ZEXIST(g_model.curves[idx - 1].name))
|
||||
zchar2str(s, g_model.curves[idx - 1].name, LEN_CURVE_NAME);
|
||||
if (g_model.curves[idx - 1].name[0])
|
||||
strAppend(s, g_model.curves[idx - 1].name, LEN_CURVE_NAME);
|
||||
else
|
||||
strAppendStringWithIndex(s, STR_CV, idx);
|
||||
|
||||
|
@ -234,8 +234,8 @@ char * getGVarString(char * dest, int idx)
|
|||
idx = -idx-1;
|
||||
}
|
||||
|
||||
if (ZEXIST(g_model.gvars[idx].name))
|
||||
zchar2str(s, g_model.gvars[idx].name, LEN_GVAR_NAME);
|
||||
if (g_model.gvars[idx].name[0])
|
||||
strAppend(s, g_model.gvars[idx].name, LEN_GVAR_NAME);
|
||||
else
|
||||
strAppendStringWithIndex(s, STR_GV, idx+1);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue