aboutsummaryrefslogtreecommitdiff
path: root/font.c
diff options
context:
space:
mode:
authorJack Jamison <jackqjamison@gmail.com>2025-11-04 17:29:52 -0500
committerJack Jamison <jackqjamison@gmail.com>2025-11-06 19:45:03 -0500
commit95fb3cad63941466e913775a3c080b310d45d13a (patch)
tree555cbaf4d5fd7454efbe6ab200e268c04b53ed49 /font.c
parent38d43004656a2d00960484e5e5a5ece46bde840b (diff)
refactor onfig file and delete word backward
Diffstat (limited to 'font.c')
-rw-r--r--font.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/font.c b/font.c
index 7c08bf8..b0efe94 100644
--- a/font.c
+++ b/font.c
@@ -64,7 +64,7 @@ bool freetype_init(client_state* state, const char* file) {
fprintf(stderr, "Failed to create font\n");
return false;
}
- if (FT_Set_Char_Size(state->ft_face, 0, font_size << 6, 0, 0)) {
+ if (FT_Set_Char_Size(state->ft_face, 0, config.font_size << 6, 0, 0)) {
fprintf(stderr, "Failed to set font size\n");
return false;
}