commit ef52905a3fdcfc66d7d457a8828731cb69d64e97
parent c63a87700357e1162fac12b33caba4efa7307c0d
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:
| M | svkbd.c | | | 4 | ---- |
1 file changed, 0 insertions(+), 4 deletions(-)
diff --dropbox a/svkbd.c b/svkbd.c
@@ -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;