From 36624c93581cfafb0165e0916549326948464be8 Mon Sep 17 00:00:00 2001 From: Ingo Date: Tue, 18 Mar 2014 13:35:31 +0100 Subject: [PATCH] Fixes some 'code with no effect' detected by cppcheck, no Issue --- rtgui/edit.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rtgui/edit.h b/rtgui/edit.h index a4c38cba7..37b876907 100644 --- a/rtgui/edit.h +++ b/rtgui/edit.h @@ -248,9 +248,9 @@ public: } void setColor(char r, char g, char b) { - r = double(r)/255.; - g = double(g)/255.; - b = double(b)/255.; + this->r = double(r)/255.; + this->g = double(g)/255.; + this->b = double(b)/255.; } double getR() { return r; }