diff --git a/TODO b/TODO index bdf1103b..90143833 100644 --- a/TODO +++ b/TODO @@ -1,4 +1,4 @@ -- im__convert_saveable() is not propogating 'progress' for wtc2.jpg +- talk about new progress system in im_add_eval_callback()? - done jpeg, png ... make others dbl-buf writes too diff --git a/libsrc/iofuncs/buffer.c b/libsrc/iofuncs/buffer.c index 202f58d9..15e28224 100644 --- a/libsrc/iofuncs/buffer.c +++ b/libsrc/iofuncs/buffer.c @@ -465,7 +465,7 @@ im_buffer_print( im_buffer_t *buffer ) printf( "bsize = %zd\n", buffer->bsize ); } -/* Make a parent/child link. +/* Make a parent/child link. child is one of parent's inputs. */ void im__link_make( IMAGE *parent, IMAGE *child ) @@ -478,11 +478,11 @@ im__link_make( IMAGE *parent, IMAGE *child ) /* Propogate the progress indicator. */ - if( !child->progress && parent->progress ) - child->progress = parent->progress; + if( child->progress && !parent->progress ) + parent->progress = child->progress; } -/* Break link. +/* Break link. child is one of parent's inputs. */ static void * im__link_break( IMAGE *parent, IMAGE *child )