diff options
Diffstat (limited to 'src/inputhud.c')
-rw-r--r-- | src/inputhud.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/inputhud.c b/src/inputhud.c index 1ce919a..4e332c4 100644 --- a/src/inputhud.c +++ b/src/inputhud.c @@ -326,6 +326,7 @@ static void reloadfonts() { HANDLE_EVENT(HudPaint, int screenw, int screenh) { if (!con_getvari(sst_inputhud)) return; if_cold (screenw != lastw || screenh != lasth) reloadfonts(); + lastw = screenw; lasth = screenh; int basesz = screenw > screenh ? screenw : screenh; int boxsz = ceilf(basesz * 0.025f); if (boxsz < 24) boxsz = 24; |