|
From: Lasse Kärkkäi. <tr...@us...> - 2011-01-25 16:04:55
|
Module: editor
Branch: master
Commit: 98a9937d1aef76016408f4e331fcdfe2e59eb9e8
Author: Lasse Karkkainen <tro...@tr...>
Date: Mon Jan 24 17:13:19 2011 +0100
Syntax cleanup
---
pitchvis.hh | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/pitchvis.hh b/pitchvis.hh
index cef0ad5..d01dc5d 100644
--- a/pitchvis.hh
+++ b/pitchvis.hh
@@ -25,10 +25,10 @@ struct Pixel {
}
float& operator[](unsigned idx) { return (&r)[idx]; }
Pixel& operator+=(Pixel const& pix) {
- r = r + pix.r;
- g = g + pix.g;
- b = b + pix.b;
- a = a + pix.a;
+ r += pix.r;
+ g += pix.g;
+ b += pix.b;
+ a += pix.a;
return *this;
}
};
|