GUI: fix labels being empty
This commit is contained in:
parent
bb5cee4a66
commit
774a949cca
2 changed files with 6 additions and 6 deletions
|
|
@ -2781,7 +2781,7 @@ void setupLabel(const char* lStr, char* label, int len) {
|
|||
memset(label,0,32);
|
||||
for (int i=0, p=0; i<len; i++) {
|
||||
signed char cl;
|
||||
if (lStr[p]!=0) {
|
||||
if (lStr[p]==0) {
|
||||
strncat(label," ",32);
|
||||
} else {
|
||||
decodeUTF8((const unsigned char*)&lStr[p],cl);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue