diff options
author | Henning Makholm <henning@makholm.net> | 2009-07-01 18:00:00 (EDT) |
---|---|---|
committer | Julien Jorge <julien.jorge@stuff-o-matic.com> | 2013-01-10 16:10:03 (EST) |
commit | 70a9b1ca8750a43e8092807d174a8c49407aa213 (patch) | |
tree | 78e1cbff8e9750d918c4bc8782086fc37306492a /flatspec.c | |
parent | c60d2efdeaa61c5e8a930f9635548f5abaf201b3 (diff) | |
download | xcftools-70a9b1ca8750a43e8092807d174a8c49407aa213.zip xcftools-70a9b1ca8750a43e8092807d174a8c49407aa213.tar.gz xcftools-70a9b1ca8750a43e8092807d174a8c49407aa213.tar.bz2 |
Import of release 1.0.5
Diffstat (limited to 'flatspec.c')
-rw-r--r-- | flatspec.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -184,13 +184,13 @@ complete_flatspec(struct FlattenSpec *spec, guesser guess_callback) spec->dim = spec->layers[i].dim ; first = 0 ; } else { - if( spec->dim.c.l < spec->layers[i].dim.c.l ) + if( spec->dim.c.l > spec->layers[i].dim.c.l ) spec->dim.c.l = spec->layers[i].dim.c.l ; - if( spec->dim.c.r > spec->layers[i].dim.c.r ) + if( spec->dim.c.r < spec->layers[i].dim.c.r ) spec->dim.c.r = spec->layers[i].dim.c.r ; - if( spec->dim.c.t < spec->layers[i].dim.c.t ) + if( spec->dim.c.t > spec->layers[i].dim.c.t ) spec->dim.c.t = spec->layers[i].dim.c.t ; - if( spec->dim.c.b > spec->layers[i].dim.c.b ) + if( spec->dim.c.b < spec->layers[i].dim.c.b ) spec->dim.c.b = spec->layers[i].dim.c.b ; } } |