[gimp] plug-ins: fix film to succeed again and not always do nothing
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] plug-ins: fix film to succeed again and not always do nothing
- Date: Sun, 8 Sep 2019 13:52:30 +0000 (UTC)
commit 7a9517c261828e2e5665c700a7f91117d19d0c5b
Author: Michael Natterer <mitch gimp org>
Date: Sun Sep 8 15:51:51 2019 +0200
plug-ins: fix film to succeed again and not always do nothing
plug-ins/common/film.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/plug-ins/common/film.c b/plug-ins/common/film.c
index 05ccf5c290..8bfdf2cfab 100644
--- a/plug-ins/common/film.c
+++ b/plug-ins/common/film.c
@@ -1356,11 +1356,12 @@ film_dialog (GimpImage *image)
-1);
if ((image_id >= 0) && (num_images < MAX_FILM_PICTURES))
- filmvals.images = g_list_append (filmvals.images,
- gimp_image_get_by_id (image_id));
+ {
+ filmvals.images = g_list_append (filmvals.images,
+ gimp_image_get_by_id (image_id));
+ filmvals.num_images++;
+ }
}
-
- filmvals.num_images = num_images;
}
gtk_widget_destroy (dlg);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]