mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-03-09 12:46:19 +00:00
String drawing: fix width calculation not accounting for string dance character code
This commit is contained in:
parent
a1e4479f5d
commit
0d07b83896
1 changed files with 2 additions and 2 deletions
|
|
@ -2662,7 +2662,7 @@ fixed_t V_StringScaledWidth(
|
|||
cx = 0;
|
||||
break;
|
||||
default:
|
||||
if (( c & 0xF0 ) == 0x80)
|
||||
if (( c & 0xF0 ) == 0x80 || c == V_STRINGDANCE)
|
||||
continue;
|
||||
|
||||
if (uppercase)
|
||||
|
|
@ -2794,7 +2794,7 @@ char * V_ScaledWordWrap(
|
|||
startwriter = 0;
|
||||
break;
|
||||
default:
|
||||
if (( c & 0xF0 ) == 0x80)
|
||||
if (( c & 0xF0 ) == 0x80 || c == V_STRINGDANCE)
|
||||
;
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue