[gnome-photos] operation-shadows-highlights-correction: Fix typo
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] operation-shadows-highlights-correction: Fix typo
- Date: Fri, 29 Dec 2017 23:52:12 +0000 (UTC)
commit a40f88e73682e116a0ca204cab3c29afa3f4422e
Author: Debarshi Ray <debarshir gnome org>
Date: Wed Dec 20 08:12:31 2017 +0100
operation-shadows-highlights-correction: Fix typo
src/photos-operation-shadows-highlights-correction.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/photos-operation-shadows-highlights-correction.c
b/src/photos-operation-shadows-highlights-correction.c
index d04172e8..2706d607 100644
--- a/src/photos-operation-shadows-highlights-correction.c
+++ b/src/photos-operation-shadows-highlights-correction.c
@@ -201,7 +201,7 @@ photos_operation_shadows_highlights_correction_process (GeglOperation *operation
lref = copysignf (la_abs > low_approximation ? 1.0f / la_abs : 1.0f / low_approximation, la);
la_inverted = 1.0f - la;
- la_inverted_abs = fabsf (1.0f - la);
+ la_inverted_abs = fabsf (la_inverted);
href = copysignf (la_inverted_abs > low_approximation ? 1.0f / la_inverted_abs : 1.0f /
low_approximation,
la_inverted);
@@ -247,7 +247,7 @@ photos_operation_shadows_highlights_correction_process (GeglOperation *operation
lref = copysignf (la_abs > low_approximation ? 1.0f / la_abs : 1.0f / low_approximation, la);
la_inverted = 1.0f - la;
- la_inverted_abs = fabsf (1.0f - la);
+ la_inverted_abs = fabsf (la_inverted);
href = copysignf (la_inverted_abs > low_approximation ? 1.0f / la_inverted_abs : 1.0f /
low_approximation,
la_inverted);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]