summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2022-04-30 13:19:33 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2022-04-30 13:19:33 +0200
commitfe5d5c6709a77ac5d554e26dda76a67df68618ae (patch)
treeb9cfb0549653fd83d290b01af04593edfc39d2bb
parente1e1de7b3b8399cba90ddca9613f837b2dbef7b9 (diff)
downloaddmenu-fe5d5c6709a77ac5d554e26dda76a67df68618ae.tar.gz
fix incorrect comment, math is hard
-rw-r--r--dmenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dmenu.c b/dmenu.c
index 4e286cf..571bc35 100644
--- 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 */