[gimp] value-propogate: Rearrange operands
- From: Mukund Sivaraman <muks src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] value-propogate: Rearrange operands
- Date: Thu, 6 Sep 2012 02:01:56 +0000 (UTC)
commit 1981cb9a82b917d7d4163e662b5547029fcbda4f
Author: Mukund Sivaraman <muks banu com>
Date: Thu Sep 6 07:29:54 2012 +0530
value-propogate: Rearrange operands
plug-ins/common/value-propagate.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/common/value-propagate.c b/plug-ins/common/value-propagate.c
index 2cf5b90..71b421e 100644
--- a/plug-ins/common/value-propagate.c
+++ b/plug-ins/common/value-propagate.c
@@ -392,8 +392,8 @@ value_propagate (GimpDrawable *drawable)
/* gimp_message ("No direction selected."); */
return GIMP_PDB_EXECUTION_ERROR;
}
- if ((vpvals.lower_limit < 0) || (255 < vpvals.lower_limit) ||
- (vpvals.upper_limit < 0) || (255 < vpvals.upper_limit) ||
+ if ((vpvals.lower_limit < 0) || (vpvals.lower_limit > 255) ||
+ (vpvals.upper_limit < 0) || (vpvals.upper_limit > 255) ||
(vpvals.upper_limit < vpvals.lower_limit))
{
/* gimp_message ("Limit values are not valid."); */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]