]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/include/offset.hh
release: 0.1.59
[lilypond.git] / flower / include / offset.hh
index 03685c1a1a2e19e6582d8dea80f7a8b5b4127a24..428a8fa6b3ca0a9169068b81019f8bed12800c27 100644 (file)
@@ -39,7 +39,7 @@ public:
     Offset o = *this;
     o.x () = - o.x ();
     o.y () = - o.y ();
-    return *this;
+    return o;
   }
   Offset& operator-=(Offset o) {
     x()-=o.x ();