[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] master ab6fe07: * src/smooth/ftgrays.c (gray_set_cell): Fix
From: |
Alexei Podtelezhnikov |
Subject: |
[freetype2] master ab6fe07: * src/smooth/ftgrays.c (gray_set_cell): Fix uninitialized variables. |
Date: |
Mon, 6 Nov 2017 21:35:30 -0500 (EST) |
branch: master
commit ab6fe0768fd2a319d73adfd6cc1c8338bf2e669c
Author: Alexei Podtelezhnikov <address@hidden>
Commit: Alexei Podtelezhnikov <address@hidden>
* src/smooth/ftgrays.c (gray_set_cell): Fix uninitialized variables.
---
ChangeLog | 4 ++++
src/smooth/ftgrays.c | 4 ++--
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 6ce0c20..620cebc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2017-11-01 Alexei Podtelezhnikov <address@hidden>
+
+ * src/smooth/ftgrays.c (gray_set_cell): Fix uninitialized variables.
+
2017-11-03 Ewald Hew <address@hidden>
[psaux] Fix PostScript interpreter rewinding in Type 1 mode. (#52251)
diff --git a/src/smooth/ftgrays.c b/src/smooth/ftgrays.c
index 91ca6e3..3b3dcb3 100644
--- a/src/smooth/ftgrays.c
+++ b/src/smooth/ftgrays.c
@@ -582,8 +582,8 @@ typedef ptrdiff_t FT_PtrDist;
if ( ex < ras.min_ex )
ex = ras.min_ex - 1;
- /* record the current one if it is substantial and valid */
- if ( ( ras.area || ras.cover ) && !ras.invalid )
+ /* record the current one if it is valid and substantial */
+ if ( !ras.invalid && ( ras.area || ras.cover ) )
gray_record_cell( RAS_VAR );
ras.area = 0;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] master ab6fe07: * src/smooth/ftgrays.c (gray_set_cell): Fix uninitialized variables.,
Alexei Podtelezhnikov <=