summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}