Width and height cannot be negative in geometry.

master
Christoph Lohmann 13 years ago
parent c63a877003
commit ef52905a3f
  1. 4
      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;

Loading…
Cancel
Save