Correctly save colorized image, if zoom fields was applied to preview
authorAndreas Eversberg <jolly@eversberg.eu>
Sun, 17 May 2015 06:20:58 +0000 (08:20 +0200)
committerAndreas Eversberg <jolly@eversberg.eu>
Sun, 17 May 2015 06:20:58 +0000 (08:20 +0200)
gui/colorize.c

index e604288..de33c8d 100644 (file)
@@ -226,8 +226,8 @@ void colorize_image(void)
 
        /* private structure */
        cp = calloc(sizeof(struct colorize_priv), 1);
-       cp->width = width*zoom_field;
-       cp->height = height*zoom_field;
+       cp->width = width;
+       cp->height = height;
        cp->alpha = change_alpha;
 
        /* apply image to be saved later */