Skip to content

Commit 7b4b544

Browse files
authored
Unify parsing of this param between TTF and bitmap fonts (scp-fs2open#7288)
* unify parsing * allow both
1 parent 8fb7a05 commit 7b4b544

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

code/graphics/software/font.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ namespace
390390
}
391391
}
392392

393-
if (optional_string("+Auto Size")) {
393+
if (optional_string_either("+Auto Size", "+Auto Size:") >= 0) {
394394
bool temp;
395395

396396
stuff_boolean(&temp);

0 commit comments

Comments
 (0)