fix incorrect comment, math is hard
authorHiltjo Posthuma <hiltjo@codemadness.org>
Sat, 30 Apr 2022 11:19:33 +0000 (13:19 +0200)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Sat, 30 Apr 2022 11:19:33 +0000 (13:19 +0200)
dmenu.c

diff --git a/dmenu.c b/dmenu.c
index 4e286cf05c59c643b24a0316f354aa5ad45851ce..571bc35580148ab97f4c5fbef861bd2e542b201c 100644 (file)
--- a/dmenu.c
+++ b/dmenu.c
@@ -673,7 +673,7 @@ setup(void)
                mw = wa.width;
        }
        promptw = (prompt && *prompt) ? TEXTW(prompt) - lrpad / 4 : 0;
-       inputw = mw / 3; /* input width: ~30% of monitor width */
+       inputw = mw / 3; /* input width: ~33% of monitor width */
        match();
 
        /* create menu window */