diff options
author | Neil <nyamatongwe@gmail.com> | 2013-12-15 10:46:39 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2013-12-15 10:46:39 +1100 |
commit | 982a9be5d39fb042e1deb86af5930cb54729f83f (patch) | |
tree | e93ecbd0e73da10016493ba3c736f3d16ee1a90a /src/XPM.cxx | |
parent | c0f861272b0d90566c68398087db3a93840f47c1 (diff) | |
download | scintilla-mirror-982a9be5d39fb042e1deb86af5930cb54729f83f.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.cxx | 4 |
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() { |