From 8c7b3107f9c7c3ed927bee34864418a87dbd2b17 Mon Sep 17 00:00:00 2001 From: Julian Storer Date: Wed, 7 Sep 2011 15:21:54 +0100 Subject: [PATCH] Fixed a typo. --- modules/juce_graphics/geometry/juce_Path.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_graphics/geometry/juce_Path.cpp b/modules/juce_graphics/geometry/juce_Path.cpp index 5deddabc79..abf74ad11f 100644 --- a/modules/juce_graphics/geometry/juce_Path.cpp +++ b/modules/juce_graphics/geometry/juce_Path.cpp @@ -696,7 +696,7 @@ void Path::addBubble (float x, float y, if (whichSide == 0) { const float halfArrowW = jmin (arrowWidth, w - cs2) * 0.5f; - const float arrowX1 = x + cs + jmax (0.0f, (w - cs2 - arrowWidth)) * arrowPos - halfArrowW); + const float arrowX1 = x + cs + jmax (0.0f, (w - cs2 - arrowWidth) * arrowPos - halfArrowW); lineTo (arrowX1, y); lineTo (tipX, tipY); lineTo (arrowX1 + halfArrowW * 2.0f, y);