From 46c1fbf16908b98187e9967ad7048341e0a5f9a3 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Mon, 9 Jul 2018 09:57:06 +0200 Subject: [PATCH] Top and bottom margins were swapped --- cmds.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cmds.cc b/cmds.cc index 97c24d5..7d0f9b6 100644 --- a/cmds.cc +++ b/cmds.cc @@ -204,8 +204,8 @@ public: { bb->x_min += l; bb->x_max -= r; - bb->y_min += b; - bb->y_max -= t; + bb->y_min += t; + bb->y_max -= b; if (bb->x_min >= bb->x_max || bb->y_min >= bb->y_max) err("Margins cannot be larger than the whole page"); } @@ -213,8 +213,8 @@ public: { bb->x_min -= l; bb->x_max += r; - bb->y_min -= b; - bb->y_max += t; + bb->y_min -= t; + bb->y_max += b; } }; -- 2.39.2