From: Martin Mares Date: Tue, 10 Apr 2018 11:30:56 +0000 (+0200) Subject: Fix rotate command X-Git-Tag: v1.0~9 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=2a7ea65f10962f86dedfac00367aa1124c19496d;p=paperjam.git Fix rotate command --- diff --git a/cmds.cc b/cmds.cc index 11c4648..73daa4c 100644 --- a/cmds.cc +++ b/cmds.cc @@ -470,7 +470,7 @@ class rotate_cmd : public cmd_exec_simple { public: rotate_cmd(cmd *c) { - deg = c->arg("deg")->as_int(0) % 360; + deg = c->arg("angle")->as_int(0) % 360; if (deg < 0) deg += 360; if (deg % 90)