]> granicus.if.org Git - graphviz/commitdiff
common miter_point: fix comment typo
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 12 Oct 2022 03:59:30 +0000 (20:59 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 13 Oct 2022 00:01:33 +0000 (17:01 -0700)
lib/common/arrows.c

index 07e1cb89db188006825870747f75152f275e048a..00cc94d42662cdabac998e66461f4875f7d12322 100644 (file)
@@ -472,7 +472,7 @@ static pointf miter_point(pointf base_left, pointf P, pointf base_right,
                        P.y - penwidth / 2.0 * cosBetaMinusPi};
 
     // the bevel is the triangle formed from the three points P, P1 and P2 so
-    // a good anough approximation of the miter point in this case is the
+    // a good enough approximation of the miter point in this case is the
     // crossing of P-P3 with P1-P2 which is the same as the midpoint between
     // P1 and P2
     const pointf Pbevel = {(P1.x + P2.x) / 2, (P1.y + P2.y) / 2};