mirror of
https://github.com/raysan5/raygui.git
synced 2026-02-05 21:59:18 -05:00
Minor tweak on style loading
This commit is contained in:
@ -3974,7 +3974,8 @@ RAYGUIDEF void GuiLoadStyle(const char *fileName)
|
||||
sscanf(buffer, "f %d %s %[^\n]s", &fontSize, charmapFileName, fontFileName);
|
||||
|
||||
Font font = { 0 };
|
||||
if (charmapFileName[0] != 0)
|
||||
|
||||
if (charmapFileName[0] != '0')
|
||||
{
|
||||
// Load characters from charmap file,
|
||||
// expected '\n' separated list of integer values
|
||||
|
||||
Reference in New Issue
Block a user