svpaint: Change a variable from global to local

This fixes a warning from LGTM:

    Poor global variable name 'rgb'. Prefer longer, descriptive
    names for globals (eg. kMyGlobalConstant, not foo).

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil 2018-10-08 13:53:09 +02:00
parent 7b5955920d
commit 3ae765ecca

View File

@ -32,7 +32,7 @@
#include <iostream> #include <iostream>
// The current color values we use, initially white (== ScrollView::WHITE). // The current color values we use, initially white (== ScrollView::WHITE).
int rgb[3] = { 255, 255, 255 }; static int rgb[3] = { 255, 255, 255 };
class SVPaint : public SVEventHandler { class SVPaint : public SVEventHandler {
public: public: