Index: xy.c =================================================================== --- xy.c (revision 35884) +++ xy.c (revision 35885) @@ -578,7 +578,7 @@ } if (strncmp(*input, "side-negrot180%", 15) == 0) { *input += 15; - rnd_append_printf(s, "%g", (ctx->front ? -ctx->theta : ctx->theta) + 180); + rnd_append_printf(s, "%g", (ctx->front ? -ctx->theta : ctx->theta + 180)); return 0; } if (strncmp(*input, "270-rot%", 8) == 0) {