aboutsummaryrefslogtreecommitdiff
path: root/dw/fltkimgbuf.cc
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2009-02-08 21:16:37 -0300
committerJorge Arellano Cid <jcid@dillo.org>2009-02-08 21:16:37 -0300
commit845493306279f446dbac9568a0a1e0f442e615dd (patch)
treedbf0a36e50a268b456760ce881a802d28979cc5f /dw/fltkimgbuf.cc
parent283a7960e615b14c21b7ce757b0fcbe5c945bb95 (diff)
's/if(/if (/g' 's/for(/for (/g' 's/while(/while (/g', and indentation.
Diffstat (limited to 'dw/fltkimgbuf.cc')
-rw-r--r--dw/fltkimgbuf.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/dw/fltkimgbuf.cc b/dw/fltkimgbuf.cc
index 835f6e76..96164674 100644
--- a/dw/fltkimgbuf.cc
+++ b/dw/fltkimgbuf.cc
@@ -124,16 +124,16 @@ inline void FltkImgbuf::scaleRow (int row, const core::byte *data)
int sr1 = scaledY (row);
int sr2 = scaledY (row + 1);
- for(int sr = sr1; sr < sr2; sr++) {
+ for (int sr = sr1; sr < sr2; sr++) {
// Avoid multiple passes.
if (copiedRows->get(sr)) continue;
copiedRows->set (sr, true);
if (sr == sr1) {
- for(int px = 0; px < root->width; px++) {
+ for (int px = 0; px < root->width; px++) {
int px1 = px * width / root->width;
int px2 = (px+1) * width / root->width;
- for(int sp = px1; sp < px2; sp++) {
+ for (int sp = px1; sp < px2; sp++) {
memcpy(rawdata + (sr*width + sp)*bpp, data + px*bpp, bpp);
}
}