freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2] master d2367ab: src/sfnt/ttcolr.c: Minor formatting.


From: Werner Lemberg
Subject: [freetype2] master d2367ab: src/sfnt/ttcolr.c: Minor formatting.
Date: Thu, 29 Jul 2021 02:21:59 -0400 (EDT)

branch: master
commit d2367abac0859b09d8defe034dd6ebbc0391a51a
Author: Werner Lemberg <wl@gnu.org>
Commit: Werner Lemberg <wl@gnu.org>

    src/sfnt/ttcolr.c: Minor formatting.
---
 src/sfnt/ttcolr.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/sfnt/ttcolr.c b/src/sfnt/ttcolr.c
index 601d88a..b8f4777 100644
--- a/src/sfnt/ttcolr.c
+++ b/src/sfnt/ttcolr.c
@@ -532,7 +532,7 @@
       apaint->u.sweep_gradient.center.y = FT_NEXT_SHORT( p );
 
       apaint->u.sweep_gradient.start_angle = FT_NEXT_SHORT( p ) << 2;
-      apaint->u.sweep_gradient.end_angle = FT_NEXT_SHORT( p ) << 2;
+      apaint->u.sweep_gradient.end_angle   = FT_NEXT_SHORT( p ) << 2;
 
       return 1;
     }
@@ -624,9 +624,9 @@
       return 1;
     }
 
-    else if ( apaint->format == FT_COLR_PAINTFORMAT_ROTATE  ||
+    else if ( apaint->format == FT_COLR_PAINTFORMAT_ROTATE ||
               (FT_PaintFormat_Internal)apaint->format ==
-                FT_COLR_PAINTFORMAT_INTERNAL_ROTATE_CENTER  )
+                FT_COLR_PAINTFORMAT_INTERNAL_ROTATE_CENTER )
     {
       apaint->u.rotate.paint.p                     = child_table_p;
       apaint->u.rotate.paint.insert_root_transform = 0;
@@ -654,9 +654,9 @@
       return 1;
     }
 
-    else if ( apaint->format == FT_COLR_PAINTFORMAT_SKEW  ||
+    else if ( apaint->format == FT_COLR_PAINTFORMAT_SKEW ||
               (FT_PaintFormat_Internal)apaint->format ==
-                FT_COLR_PAINTFORMAT_INTERNAL_SKEW_CENTER  )
+                FT_COLR_PAINTFORMAT_INTERNAL_SKEW_CENTER )
     {
       apaint->u.skew.paint.p                     = child_table_p;
       apaint->u.skew.paint.insert_root_transform = 0;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]