aboutsummaryrefslogtreecommitdiff
path: root/queen/display.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'queen/display.cpp')
-rw-r--r--queen/display.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/queen/display.cpp b/queen/display.cpp
index aa4f6eeb12..78da49bb36 100644
--- a/queen/display.cpp
+++ b/queen/display.cpp
@@ -721,9 +721,9 @@ void Display::blit(uint8 *dstBuf, uint16 dstPitch, uint16 x, uint16 y, const uin
}
} else if (!xflip) { // Masked bitmap unflipped
while (h--) {
- for(int i = 0; i < w; ++i) {
+ for (int i = 0; i < w; ++i) {
uint8 b = *(srcBuf + i);
- if(b != 0) {
+ if (b != 0) {
*(dstBuf + i) = b;
}
}
@@ -732,9 +732,9 @@ void Display::blit(uint8 *dstBuf, uint16 dstPitch, uint16 x, uint16 y, const uin
}
} else { // Masked bitmap flipped
while (h--) {
- for(int i = 0; i < w; ++i) {
+ for (int i = 0; i < w; ++i) {
uint8 b = *(srcBuf + i);
- if(b != 0) {
+ if (b != 0) {
*(dstBuf - i) = b;
}
}