summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2024-10-06 22:52:44 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2024-10-06 22:52:44 +0900
commitd7f5a7ac89425286a6d4e4847128f3f6b6424aff (patch)
treee55ef98fd61fb45758bec781e98a797e3c65a6eb
parente078b1fd10e2c1e4854b4d4718e6d34310ff0314 (diff)
Init
-rw-r--r--st/x.c2
1 files changed, 1 insertions, 1 deletions
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;
}