aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/XPM.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2018-04-20 08:27:32 +1000
committerNeil <nyamatongwe@gmail.com>2018-04-20 08:27:32 +1000
commitcd438e160a1b3af0b96f8cd21e8cb1b240073021 (patch)
treebb3fa7679e7e67cbb06910f5348962171f54b75b /src/XPM.h
parent2bda47cbac6778a204037890479611a1631a480f (diff)
downloadscintilla-mirror-cd438e160a1b3af0b96f8cd21e8cb1b240073021.tar.gz
Backport: Remove casts, drop default argument, use const.
Backport of changeset 6708:6705d3f828c5.
Diffstat (limited to 'src/XPM.h')
-rw-r--r--src/XPM.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XPM.h b/src/XPM.h
index a2bd6cb91..2af0ae84e 100644
--- a/src/XPM.h
+++ b/src/XPM.h
@@ -59,7 +59,7 @@ public:
float GetScaledWidth() const { return width / scale; }
int CountBytes() const;
const unsigned char *Pixels() const;
- void SetPixel(int x, int y, ColourDesired colour, int alpha=0xff);
+ void SetPixel(int x, int y, ColourDesired colour, int alpha);
};
/**