mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Cosmetics
This commit is contained in:
parent
b09ff326d1
commit
041f413d4b
@ -583,7 +583,7 @@ DrawTextLegacy (
|
|||||||
{
|
{
|
||||||
if (isRightReading && numberSize == 0)
|
if (isRightReading && numberSize == 0)
|
||||||
{
|
{
|
||||||
const auto test = [](const char * text) -> bool {
|
const auto test = [] (const char * text) -> bool {
|
||||||
return *text > ' ' && *text <= '~';
|
return *text > ' ' && *text <= '~';
|
||||||
};
|
};
|
||||||
it = pText;
|
it = pText;
|
||||||
@ -668,7 +668,7 @@ DrawText (
|
|||||||
CPixmap * pPixmap, Point pos, const char * pText, Sint32 font, Sint32 slope)
|
CPixmap * pPixmap, Point pos, const char * pText, Sint32 font, Sint32 slope)
|
||||||
{
|
{
|
||||||
if (g_settingsOverload & SETTING_LEGACY)
|
if (g_settingsOverload & SETTING_LEGACY)
|
||||||
DrawTextLegacy(pPixmap, pos, pText, font, slope);
|
DrawTextLegacy (pPixmap, pos, pText, font, slope);
|
||||||
else
|
else
|
||||||
GetFonts ()->Draw (pPixmap, font, pos, pText, slope);
|
GetFonts ()->Draw (pPixmap, font, pos, pText, slope);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user