Displaying % and heart on VKBD - maybe...

This commit is contained in:
Pecusx
2021-05-07 14:31:26 +02:00
parent fda5a5cef1
commit f0b5707a8f
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -297,7 +297,8 @@ unsigned char *mbuffer=(unsigned char *)surf;
#endif
if(string==NULL)return;
for(strlen = 0; strlen<maxstrlen && string[strlen]; strlen++) {}
strlen = sizeof(string);
if (strlen>maxstrlen) strlen = maxstrlen;
int surfw=strlen * 7 * xscale;
int surfh=8 * yscale;