OSDN Git Service

Moved comment so that it makes more sense.
authorEric Branlund <ebranlund@fastmail.com>
Mon, 28 Sep 2020 21:07:52 +0000 (14:07 -0700)
committerEric Branlund <ebranlund@fastmail.com>
Mon, 28 Sep 2020 21:07:52 +0000 (14:07 -0700)
src/main-cocoa.m

index f36dcad..d9692b2 100644 (file)
@@ -2292,9 +2292,9 @@ static int compare_advances(const void *ap, const void *bp)
 
     /* Pick the center to find the median */
     CGFloat medianAdvance = 0;
+    /* In case we have all zero advances for some reason */
     if (startIdx < GLYPH_COUNT)
     {
-               /* In case we have all zero advances for some reason */
         medianAdvance = advances[(startIdx + GLYPH_COUNT)/2].width;
     }