Browse Source

control_print_talk_msg cleanup

pull/872/head
qndel 6 years ago committed by Anders Jenbo
parent
commit
fb8955dd5c
  1. 3
      Source/control.cpp

3
Source/control.cpp

@ -2669,7 +2669,8 @@ char *control_print_talk_msg(char *msg, int x, int y, int *nOffset, int color)
*nOffset = PitchTbl[y] + x;
while (*msg) {
c = fontframe[gbFontTransTbl[(BYTE)*msg]];
c = gbFontTransTbl[(BYTE)*msg];
c = fontframe[c];
width += fontkern[c] + 1;
if (width > 450 + PANEL_X)
return msg;

Loading…
Cancel
Save