URI: 
       yet another cleanup - dwm - dynamic window manager
  HTML git clone https://git.parazyd.org/dwm
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit 0e21794e02069ae71a1e70f8d0c2c22c4d1050bc
   DIR parent d477fb69270cb1cce9a065d51e959206a28ba0f9
  HTML Author: Anselm R Garbe <garbeam@gmail.com>
       Date:   Thu,  3 Apr 2008 14:39:19 +0100
       
       yet another cleanup
       Diffstat:
         M dwm.c                               |       4 ++--
       
       1 file changed, 2 insertions(+), 2 deletions(-)
       ---
   DIR diff --git a/dwm.c b/dwm.c
       @@ -1191,9 +1191,9 @@ resize(Client *c, int x, int y, int w, int h, Bool sizehints) {
                        if(c->minax != c->maxax && c->minay != c->maxay 
                        && c->minax > 0 && c->maxax > 0 && c->minay > 0 && c->maxay > 0)
                        {
       -                        if (w * c->maxay > h * c->maxax)
       +                        if(w * c->maxay > h * c->maxax)
                                        w = h * c->maxax / c->maxay;
       -                        else if (w * c->minay < h * c->minax)
       +                        else if(w * c->minay < h * c->minax)
                                        h = w * c->minay / c->minax;
                        }