Font[] now assumes a default size of 10 points, so that you don't have to specify the font size when creating the Font object.
[GB.SDL2] * NEW: Font[] now assumes a default size of 10 points, so that you don't have to specify the font size when creating the Font object.
This commit is contained in:
parent
802349aab4
commit
3c75cea518
1 changed files with 1 additions and 1 deletions
|
@ -320,7 +320,7 @@ BEGIN_METHOD(Font_get, GB_STRING font)
|
|||
int val;
|
||||
bool bold = FALSE;
|
||||
bool italic = FALSE;
|
||||
int size = 0;
|
||||
int size = 10;
|
||||
char *name = NULL;
|
||||
|
||||
for (elt = strtok(desc, ","); elt; elt = strtok(NULL, ","))
|
||||
|
|
Loading…
Reference in a new issue