mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Cosmetic
This commit is contained in:
parent
0e7bf44dcc
commit
82b97be5f9
@ -183,7 +183,7 @@ DrawText (
|
|||||||
CPixmap * pPixmap, Point pos, const char * pText, Sint32 font, Sint32 slope)
|
CPixmap * pPixmap, Point pos, const char * pText, Sint32 font, Sint32 slope)
|
||||||
{
|
{
|
||||||
Sint32 rank;
|
Sint32 rank;
|
||||||
bool isLatin = false;
|
bool isLatin = false;
|
||||||
int numberSize = 0;
|
int numberSize = 0;
|
||||||
const char * it = nullptr;
|
const char * it = nullptr;
|
||||||
int skip = 0;
|
int skip = 0;
|
||||||
@ -204,7 +204,7 @@ DrawText (
|
|||||||
const auto test = [](const char * text) -> bool {
|
const auto test = [](const char * text) -> bool {
|
||||||
return *text >= ' ' && *text <= '~';
|
return *text >= ' ' && *text <= '~';
|
||||||
};
|
};
|
||||||
it = pText;
|
it = pText;
|
||||||
isLatin = test (pText);
|
isLatin = test (pText);
|
||||||
if (isLatin)
|
if (isLatin)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user