From: Martin Mares Date: Mon, 9 Jul 2018 07:57:06 +0000 (+0200) Subject: Top and bottom margins were swapped X-Git-Tag: v1.1.1~12 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=46c1fbf16908b98187e9967ad7048341e0a5f9a3;p=paperjam.git Top and bottom margins were swapped --- 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; } };