[hackers] [dwm] removed misleading comment || Anselm R Garbe

From: <hg_AT_suckless.org>
Date: Fri, 17 Jul 2009 14:28:17 +0000 (UTC)

changeset: 1468:654a2e8064ae
tag: tip
user: Anselm R Garbe <garbeam_AT_gmail.com>
date: Fri Jul 17 15:28:07 2009 +0100
files: dwm.c
description:
removed misleading comment

diff -r d6c51030d117 -r 654a2e8064ae dwm.c
--- a/dwm.c Fri Jul 17 13:35:44 2009 +0100
+++ b/dwm.c Fri Jul 17 15:28:07 2009 +0100
@@ -350,9 +350,9 @@
                 /* adjust for aspect limits */
                 if(c->mina > 0 && c->maxa > 0) {
                         if(c->maxa < (float)*w / *h)
- *w = *h * c->maxa + 0.5; /* -Os double upcast workaround */
+ *w = *h * c->maxa + 0.5;
                         else if(c->mina < (float)*h / *w)
- *h = *w * c->mina + 0.5; /* -Os double upcast workaround */
+ *h = *w * c->mina + 0.5;
                 }
                 if(baseismin) { /* increment calculation requires this */
                         *w -= c->basew;
Received on Fri Jul 17 2009 - 14:28:17 UTC

This archive was generated by hypermail 2.2.0 : Fri Jul 17 2009 - 14:36:05 UTC