mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-03-27 05:21:57 +00:00
Whitespace at the end of a line should NOT be counted when getting V_StringScaledWidth
Second guessed this change over lunch
This commit is contained in:
parent
277f7c51a3
commit
445929fac9
1 changed files with 2 additions and 2 deletions
|
|
@ -2605,7 +2605,7 @@ fixed_t V_StringScaledWidth(
|
|||
cx += cw;
|
||||
}
|
||||
else
|
||||
right = (cx += fontspec.spacew);
|
||||
cx += fontspec.spacew;
|
||||
}
|
||||
|
||||
fullwidth = std::max(right, std::max(cx, fullwidth));
|
||||
|
|
@ -2728,7 +2728,7 @@ void V_ScaledWordWrap(
|
|||
}
|
||||
else
|
||||
{
|
||||
right = (cx += fontspec.spacew);
|
||||
cx += fontspec.spacew;
|
||||
cxatstart = cx;
|
||||
start = i;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue