*** empty log message ***
authorroot <root>
Wed, 27 Feb 2008 01:02:33 +0000 (01:02 +0000)
committerroot <root>
Wed, 27 Feb 2008 01:02:33 +0000 (01:02 +0000)
src/main.C

index f57706dd296d12e78db027a2d1acb937d249c924..2cb48f8197caa52291264a2175dc593e2e470d2c 100644 (file)
@@ -561,6 +561,9 @@ rxvt_term::window_calc (unsigned int newwidth, unsigned int newheight)
                 szHint.win_gravity = SouthWestGravity;
             }
         }
+
+      if (!szHint.width || !szHint.height)
+        rxvt_fatal ("window width or height must not be zero, aborting.\n");
     }
 
   /* TODO: BOUNDS */