From d7f5a7ac89425286a6d4e4847128f3f6b6424aff Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Sun, 6 Oct 2024 22:52:44 +0900 Subject: Init --- st/x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'st/x.c') diff --git a/st/x.c b/st/x.c index 15647c1..989d3dc 100644 --- a/st/x.c +++ b/st/x.c @@ -1056,7 +1056,7 @@ xloadfonts(const char *fontstr, double fontsize) XCloseDisplay(dpy); // Close the display after getting resolution // // If the resolution is under 1024x768, set the fontsize to 12 - if (width < 1024 && height < 768) { + if (width <= 1024 && height <= 768) { fontsize = 12; } -- cgit v1.2.3