fix crash when exporting pdf via gui - fixes bug #45272
[pspp] / src / output / cairo.c
index a3070dddef3e2e69dc65ff58a3c4c8f1b82d7739..7f220641061907ae771c5caf5cd5a28af3635cd5 100644 (file)
@@ -842,8 +842,6 @@ xr_measure_cell_height (void *xr_, const struct table_cell *cell,
 
   bb[H][0] = 0;
   bb[H][1] = width - xr->cell_margin * 2;
-  if (bb[H][1] <= 0)
-    return 0;
   bb[V][0] = 0;
   bb[V][1] = INT_MAX;
   clip[H][0] = clip[H][1] = clip[V][0] = clip[V][1] = 0;