aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--terminal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/terminal.c b/terminal.c
index 7fc177f0..3803e847 100644
--- a/terminal.c
+++ b/terminal.c
@@ -525,7 +525,7 @@ term_set_fonts(struct terminal *term, struct font *fonts[static 4])
term->fonts[0]->ascent + term->fonts[0]->descent);
LOG_INFO("cell width=%d, height=%d", term->cell_width, term->cell_height);
- render_resize_force(term, term->width, term->height);
+ render_resize_force(term, term->width / term->scale, term->height / term->scale);
return true;
}