[gimp/gimp-2-8] Bug 768625: gimp-gradient-segment-range-move crashes...
- From: Massimo Valentini <mvalentini src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-8] Bug 768625: gimp-gradient-segment-range-move crashes...
- Date: Sun, 10 Jul 2016 15:24:07 +0000 (UTC)
commit 420606a0abb43f1c870c5174bb845d0c08ee3645
Author: Massimo Valentini <mvalentini src gnome org>
Date: Sun Jul 10 17:21:32 2016 +0200
Bug 768625: gimp-gradient-segment-range-move crashes...
...GIMP invoked with end-segment < 0
correct a typo
(cherry picked from commit 23d5944ef8fa9585dae7210ca344eeb473601541)
app/core/gimpgradient.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/core/gimpgradient.c b/app/core/gimpgradient.c
index 8cece7f..199ffd1 100644
--- a/app/core/gimpgradient.c
+++ b/app/core/gimpgradient.c
@@ -1854,7 +1854,7 @@ gimp_gradient_segment_range_move (GimpGradient *gradient,
gimp_data_freeze (GIMP_DATA (gradient));
- if (! range_l)
+ if (! range_r)
range_r = gimp_gradient_segment_get_last (range_l);
/* First or last segments in gradient? */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]