aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Scipione <jscipione@gmail.com>2012-07-30 01:59:11 -0400
committerJohn Scipione <jscipione@gmail.com>2012-07-30 01:59:11 -0400
commitc15ad4e6b98379e055bd98b0cd2bf624b0af441a (patch)
tree17ea1181a3c67f37260a6d571fc1a3d6c3294b53
parent45ecce1d57e8fa0f58c0f50627f87924cb87e514 (diff)
Space after for, thanks Ryanhrev44433
-rw-r--r--src/libs/icon/IconUtils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/icon/IconUtils.cpp b/src/libs/icon/IconUtils.cpp
index 8fcfbbf546..0971c02007 100644
--- a/src/libs/icon/IconUtils.cpp
+++ b/src/libs/icon/IconUtils.cpp
@@ -162,8 +162,8 @@ scale3x(const uint8* srcBits, uint8* dstBits, int32 srcWidth, int32 srcHeight,
*/
// Assume that both src and dst are 4 BPP (B_RGBA32)
- for(int32 y = 0; y < srcHeight; ++y) {
- for(int32 x = 0; x < srcWidth; ++x) {
+ for (int32 y = 0; y < srcHeight; ++y) {
+ for (int32 x = 0; x < srcWidth; ++x) {
uint32 a = *(uint32*)(srcBits + (MAX(0, y - 1) * srcBPR)
+ (4 * MAX(0, x - 1)));
uint32 b = *(uint32*)(srcBits + (MAX(0, y - 1) * srcBPR)