summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pluma/pluma-print-preview.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pluma/pluma-print-preview.c b/pluma/pluma-print-preview.c
index 3f1c6e13..bf8f8c40 100644
--- a/pluma/pluma-print-preview.c
+++ b/pluma/pluma-print-preview.c
@@ -740,7 +740,7 @@ get_page_at_coords (PlumaPrintPreview *preview,
priv = preview->priv;
- if (priv->tile_h <= 0 || priv->tile_h <= 0)
+ if (priv->tile_h <= 0 || priv->tile_w <= 0)
return -1;
hadj = gtk_scrollable_get_hadjustment (GTK_SCROLLABLE (priv->layout));