Re: [hackers] [dmenu] fix incorrect comment, math is hard || Hiltjo Posthuma

From: Quentin Rameau <quinq_AT_fifth.space>
Date: Sat, 30 Apr 2022 17:07:32 +0200

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
_AT_@ -673,7 +673,7 @@ setup(void)
                 mw = wa.width;
         }
         promptw = (prompt && *prompt) ? TEXTW(prompt) - lrpad / 4 : 0;
- inputw = mw / 3; /* input width: ~33% of monitor width */
+ inputw = mw / 3; /* input width: ~33.333% of monitor width */
         match();
 
         /* create menu window */
Received on Sat Apr 30 2022 - 17:07:32 CEST

This archive was generated by hypermail 2.3.0 : Sat Apr 30 2022 - 17:12:35 CEST