diff --git a/ChangeLog b/ChangeLog index c43c16a773..39a4e8dd17 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Jul 2 18:05:44 1999 Owen Taylor + + * plug-ins/ifscompose/ifscompose_storage.c (parse_genuine_float): + Fix bug with negative values. + Tue Aug 3 18:13:47 CEST 1999 Marc Lehmann * app/interface.c: Display multi-line messages left-justified diff --git a/plug-ins/ifscompose/ifscompose.c b/plug-ins/ifscompose/ifscompose.c index c05b5408df..06d9d17c8a 100644 --- a/plug-ins/ifscompose/ifscompose.c +++ b/plug-ins/ifscompose/ifscompose.c @@ -443,7 +443,7 @@ run (char *name, if ((status == STATUS_SUCCESS) && (gimp_drawable_color (active_drawable->id) || gimp_drawable_gray (active_drawable->id))) { - /* set the tile cache size so that the gaussian blur works well */ + /* set the tile cache size so that the operation works well */ gimp_tile_cache_ntiles (2 * (MAX (active_drawable->width, active_drawable->height) / gimp_tile_width () + 1)); diff --git a/plug-ins/ifscompose/ifscompose_storage.c b/plug-ins/ifscompose/ifscompose_storage.c index edb88486f7..8882164f07 100644 --- a/plug-ins/ifscompose/ifscompose_storage.c +++ b/plug-ins/ifscompose/ifscompose_storage.c @@ -134,7 +134,7 @@ parse_genuine_float (GScanner *scanner, gdouble *result) if (token == G_TOKEN_FLOAT) { - *result = scanner->value.v_float; + *result = negate ? -scanner->value.v_float : scanner->value.v_float; return G_TOKEN_NONE; } else