From abe133ed1569f4dc957e883537d6f454747fbd46 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 7 Aug 2006 21:38:24 +0000 Subject: [PATCH] *** empty log message *** --- src/rxvtperl.xs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/rxvtperl.xs b/src/rxvtperl.xs index ebf88649..d91da88d 100644 --- a/src/rxvtperl.xs +++ b/src/rxvtperl.xs @@ -270,6 +270,9 @@ public: overlay::overlay (rxvt_term *THIS, int x_, int y_, int w_, int h_, rend_t rstyle, int border) : THIS(THIS), x(x_), y(y_), w(w_), h(h_), border(border == 2), overlay_av (0) { + if (w < 0) w = 0; + if (h < 0) h = 0; + if (border == 2) { w += 2; -- 2.34.1