Resize string variable
Hi i have this code:
char string[6]="Hello";
char string1[6]="World";
touchgfx::Unicode::UnicodeChar dst[6];
touchgfx::Unicode::UnicodeChar dst1[6];
touchgfx::Unicode::UnicodeChar txtAreaBuffer1[100];
Unicode::strncpy(dst, string, 6);
Unicode::strncpy(dst1, string1, 6);
Unicode::snprintf(txtAreaBuffer1, 100, "%s", dst, dst1);
Unicode::strncpy(txtAreaBuffer, txtAreaBuffer1, 100);
txtArea.invalidate();
Why i have output only Hello instead HelloWorld?
