tWidth and height cannot be negative in geometry. - svkbd - Simple X11 onscreen keyboard.
 (HTM) git clone git://r-36.net/svkbd
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) LICENSE
       ---
 (DIR) commit ef52905a3fdcfc66d7d457a8828731cb69d64e97
 (DIR) parent c63a87700357e1162fac12b33caba4efa7307c0d
 (HTM) Author: Christoph Lohmann <20h@r-36.net>
       Date:   Sun,  9 Oct 2011 18:08:18 +0200
       
       Width and height cannot be negative in geometry.
       Diffstat:
         svkbd.c                             |       4 ----
       
       1 file changed, 0 insertions(+), 4 deletions(-)
       ---
 (DIR) diff --git a/svkbd.c b/svkbd.c
       t@@ -459,12 +459,8 @@ setup(void) {
                countrows();
                if(!ww)
                        ww = sw;
       -        if(ww < 0)
       -                ww = sw + ww + 1;
                if(!wh)
                        wh = sh * rows / 32;
       -        if(wh < 0)
       -                wh = sh + wh + 1;
        
                if(!wx)
                        wx = 0;