aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/XPM.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2013-12-15 10:46:39 +1100
committerNeil <nyamatongwe@gmail.com>2013-12-15 10:46:39 +1100
commit7c020de8903c45bcc32795e28cc13a32285513f3 (patch)
tree07122e00dc818dd09b200fb7a1e80980ab2699fa /src/XPM.cxx
parent90990e1c3f2a1ea94c5ff4449f991652e2cd9e14 (diff)
downloadscintilla-mirror-7c020de8903c45bcc32795e28cc13a32285513f3.tar.gz
Format normalization - whitespace and braces made consistent.
Parameter names added to method declarations.
Diffstat (limited to 'src/XPM.cxx')
-rw-r--r--src/XPM.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/XPM.cxx b/src/XPM.cxx
index 915636de9..4191e1e92 100644
--- a/src/XPM.cxx
+++ b/src/XPM.cxx
@@ -120,7 +120,7 @@ void XPM::Init(const char *const *linesForm) {
for (int y=0; y<height; y++) {
const char *lform = linesForm[y+nColours+1];
size_t len = MeasureLength(lform);
- for (size_t x = 0; x<len; x++)
+ for (size_t x = 0; x<len; x++)
pixels[y * width + x] = static_cast<unsigned char>(lform[x]);
}
}
@@ -244,7 +244,7 @@ void RGBAImage::SetPixel(int x, int y, ColourDesired colour, int alpha) {
pixel[3] = static_cast<unsigned char>(alpha);
}
-RGBAImageSet::RGBAImageSet() : height(-1), width(-1){
+RGBAImageSet::RGBAImageSet() : height(-1), width(-1) {
}
RGBAImageSet::~RGBAImageSet() {