Mercurial > hg > octave-lojdl
changeset 7932:d75586531aac
style fixes
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 16 Jul 2008 14:20:38 -0400 |
parents | de26beacb20f |
children | 54e414cc106b |
files | src/DLD-FUNCTIONS/__magick_read__.cc |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/DLD-FUNCTIONS/__magick_read__.cc +++ b/src/DLD-FUNCTIONS/__magick_read__.cc @@ -1,7 +1,7 @@ /* Copyright (C) 2002 Andy Adler - 2008 Thomas L. Scofield +Copyright (C) 2008 Thomas L. Scofield This file is part of Octave. @@ -79,8 +79,8 @@ for (int x = 0; x < columns; x++) im(y,x,frame) = static_cast<octave_uint8> (pix[i++]); } - im.chop_trailing_singletons (); - output(0) = octave_value (im); + im.chop_trailing_singletons (); + output(0) = octave_value (im); } break; @@ -181,7 +181,7 @@ { case Magick::BilevelType: case Magick::GrayscaleType: - im = T(dim_vector (rows, columns, nframes)); + im = T (dim_vector (rows, columns, nframes)); for (int frame = 0; frame < nframes; frame++) { const Magick::PixelPacket *pix @@ -226,7 +226,7 @@ case Magick::TrueColorType: idim(2) = 3; im = T (idim); - for (int frame=0; frame < nframes; frame++) + for (int frame = 0; frame < nframes; frame++) { const Magick::PixelPacket *pix = imvec[frameidx(frame)].getConstPixels (0, 0, columns, rows); @@ -257,7 +257,7 @@ case Magick::ColorSeparationType: idim(2) = 4; im = T (idim); - for (int frame=0; frame < nframes; frame++) + for (int frame = 0; frame < nframes; frame++) { const Magick::PixelPacket *pix = imvec[frameidx(frame)].getConstPixels (0, 0, columns, rows);