From ef52905a3fdcfc66d7d457a8828731cb69d64e97 Mon Sep 17 00:00:00 2001 From: Christoph Lohmann <20h@r-36.net> Date: Sun, 9 Oct 2011 18:08:18 +0200 Subject: [PATCH] Width and height cannot be negative in geometry. --- svkbd.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/svkbd.c b/svkbd.c index ba01f78..23840b9 100644 --- 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;