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;
+1 -1
View File
@@ -15,7 +15,7 @@ Mvk MVk[NPLGN*NLIGN*2]={
{ " 2 ", " \" ", " \xb2 ", RETROK_2},
{ " 3 ", " # ", " \xb3 ", RETROK_3},
{ " 4 ", " $ ", " \xb4 ", RETROK_4},
{ " 5 ", " % ", " \xb5 ", RETROK_5},
{ " 5 ", " %% ", " \xb5 ", RETROK_5},
{ " 6 ", " & ", " \xb6 ", RETROK_6},
{ " 7 ", " \' ", " \xb7 ", RETROK_7},
{ " 8 ", " @ ", " \xb8 ", RETROK_8},