On Sun, May 01, 2022 at 02:08:58PM +0600, NRK wrote:
> Hi Quentin,
>
> On Sat, Apr 30, 2022 at 05:07:32PM +0200, Quentin Rameau wrote:
> > - inputw = mw / 3; /* input width: ~33% of monitor width */
> > + inputw = mw / 3; /* input width: ~33.333% of monitor width */
>
> You tried.
>
> diff
Hi Quentin,
On Sat, Apr 30, 2022 at 05:07:32PM +0200, Quentin Rameau wrote:
> - inputw = mw / 3; /* input width: ~33% of monitor width */
> + inputw = mw / 3; /* input width: ~33.333% of monitor width */
You tried.
diff --git a/dmenu.c b/dmenu.c
index 571bc35..3595267 100644
---
Hi Hiljto,
> fix incorrect comment, math is hard
diff --git a/dmenu.c b/dmenu.c
index 571bc35..3595267 100644
--- a/dmenu.c
+++ b/dmenu.c
@@ -673,7 +673,7 @@ setup(void)
mw = wa.width;
}
promptw = (prompt && *prompt) ? TEXTW(prompt) - lrpad / 4 : 0;
-