aboutsummaryrefslogtreecommitdiffstats
path: root/st.c
diff options
context:
space:
mode:
Diffstat (limited to 'st.c')
-rw-r--r--st.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/st.c b/st.c
index d8f0d83..bac0de9 100644
--- a/st.c
+++ b/st.c
@@ -3683,8 +3683,9 @@ xinit(void)
ddh = (int) (((((double) DisplayHeight(xw.dpy, xw.scr)) * 25.4)
/ ((double) DisplayHeightMM(xw.dpy, xw.scr))) + 0.5);
if (ddw != ddh)
- die("Computed DPI values are not equal (square)\n");
+ fprintf(stderr, "Computed DPI values are not equal (square)\n");
+ /* we always the dpi of screen width */
defaultfontdpi = ddw;
/* font */