freetype-commit
[Top][All Lists]
Advanced

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

[freetype2] master 340e59d: Minor formatting.


From: Werner LEMBERG
Subject: [freetype2] master 340e59d: Minor formatting.
Date: Tue, 18 Aug 2015 03:57:00 +0000

branch: master
commit 340e59da3aaf62a0b24a552d26eac10e0d88e881
Author: Werner Lemberg <address@hidden>
Commit: Werner Lemberg <address@hidden>

    Minor formatting.
---
 src/base/ftoutln.c |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/base/ftoutln.c b/src/base/ftoutln.c
index 297db2e..ef66b3c 100644
--- a/src/base/ftoutln.c
+++ b/src/base/ftoutln.c
@@ -935,14 +935,15 @@
     for ( c = 0; c < outline->n_contours; c++ )
     {
       FT_Vector  in, out, anchor, shift;
-      FT_Fixed   l_in = 0, l_out, l_anchor, l, q, d;
+      FT_Fixed   l_in, l_out, l_anchor, l, q, d;
       FT_Int     i, j, k;
 
 
+      l_in = 0;
       last = outline->contours[c];
 
-      /* Counter i cycles though the points; counter j advances only   */
-      /* when points are moved; anchor k markes the first moved point. */
+      /* Counter i cycles though the points; counter j advances only */
+      /* if points are moved; anchor k marks the first moved point.  */
       for ( i = last, j = first, k = -1;
             j != i && i != k;
             j = j < last ? j + 1 : first )
@@ -966,7 +967,7 @@
         {
           if ( k < 0 )
           {
-            k = i;
+            k        = i;
             anchor   = in;
             l_anchor = l_in;
           }



reply via email to

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