Skip to content

Commit

Permalink
Fix bug with optional preset font sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
knox-umineko committed Jul 6, 2019
1 parent dab421c commit 6b2b7e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Engine/Entities/Font.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ class Fontinfo {
shadow_distance[1] = props.shadow_distance[1];
shadow_color = props.shadow_color;
no_break = props.no_break;
if (font_size != -1)
if (props.font_size != -1)
font_size = props.font_size;
character_spacing = props.character_spacing;
if (props.line_height != -1)
Expand Down

0 comments on commit 6b2b7e8

Please sign in to comment.