From e32686c10a4f4fe7c34b181845220b5c491f32fb Mon Sep 17 00:00:00 2001 From: Jorge Arellano Cid Date: Mon, 9 Feb 2009 14:56:31 -0300 Subject: whitespace cleanup: 's/ +$//g' --- dw/fltkimgbuf.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'dw/fltkimgbuf.cc') diff --git a/dw/fltkimgbuf.cc b/dw/fltkimgbuf.cc index 96164674..233a132b 100644 --- a/dw/fltkimgbuf.cc +++ b/dw/fltkimgbuf.cc @@ -123,7 +123,7 @@ 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++) { // Avoid multiple passes. if (copiedRows->get(sr)) continue; @@ -163,7 +163,7 @@ void FltkImgbuf::newScan () if (isRoot()) { for (Iterator it = scaledBuffers->iterator(); it.hasNext();){ FltkImgbuf *sb = it.getNext (); - sb->copiedRows->clear(); + sb->copiedRows->clear(); } } } @@ -172,7 +172,7 @@ core::Imgbuf* FltkImgbuf::getScaledBuf (int width, int height) { if (!isRoot()) return root->getScaledBuf (width, height); - + if (width == this->width && height == this->height) { ref (); return this; @@ -265,7 +265,7 @@ void FltkImgbuf::unref () bool FltkImgbuf::lastReference () { - return refCount == 1 && + return refCount == 1 && (scaledBuffers == NULL || scaledBuffers->isEmpty ()); } @@ -311,7 +311,7 @@ void FltkImgbuf::draw (::fltk::Widget *target, int xRoot, int yRoot, height = this->height - y; } - // Draw + // Draw ::fltk::Rectangle rect (xRoot + x, yRoot + y, width, height); PixelType ptype = (type == RGBA) ? ::fltk::RGBA : ::fltk::RGB; drawimage(rawdata+bpp*(y*this->width + x),ptype,rect,bpp*this->width); -- cgit v1.2.3