From 4b6458438f18bfc18d33b1aac7d5b70fcd14336a Mon Sep 17 00:00:00 2001 From: hogliux Date: Thu, 21 Jul 2016 15:29:52 +0100 Subject: [PATCH] Fix small typo --- modules/juce_graphics/geometry/juce_Rectangle.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/juce_graphics/geometry/juce_Rectangle.h b/modules/juce_graphics/geometry/juce_Rectangle.h index ddb53d4efa..d37062c6dc 100644 --- a/modules/juce_graphics/geometry/juce_Rectangle.h +++ b/modules/juce_graphics/geometry/juce_Rectangle.h @@ -581,8 +581,8 @@ public: { return Rectangle (pos.x + static_cast (w * proportionalRect.pos.x), pos.y + static_cast (h * proportionalRect.pos.y), - proportionOfWidth (proportionalRect.w), - proportionOfWidth (proportionalRect.h)); + proportionOfWidth (proportionalRect.w), + proportionOfHeight (proportionalRect.h)); } //==============================================================================