From 6bb8bf3761d1c21e155bbce5049d1a79ef3d9610 Mon Sep 17 00:00:00 2001 From: jules Date: Wed, 22 Jul 2015 20:18:54 +0100 Subject: [PATCH] Fixed a minor warning. --- modules/juce_gui_basics/windows/juce_AlertWindow.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/juce_gui_basics/windows/juce_AlertWindow.cpp b/modules/juce_gui_basics/windows/juce_AlertWindow.cpp index 7a919fe8e1..47965bb615 100644 --- a/modules/juce_gui_basics/windows/juce_AlertWindow.cpp +++ b/modules/juce_gui_basics/windows/juce_AlertWindow.cpp @@ -343,9 +343,9 @@ void AlertWindow::updateLayout (const bool onlyIncreaseSize) const int titleH = 24; const int iconWidth = 80; - LookAndFeel& lookAndFeel = getLookAndFeel(); + LookAndFeel& lf = getLookAndFeel(); - const Font messageFont (lookAndFeel.getAlertWindowMessageFont()); + const Font messageFont (lf.getAlertWindowMessageFont()); const int wid = jmax (messageFont.getStringWidth (text), messageFont.getStringWidth (getName())); @@ -357,7 +357,7 @@ void AlertWindow::updateLayout (const bool onlyIncreaseSize) int iconSpace = 0; AttributedString attributedText; - attributedText.append (getName(), lookAndFeel.getAlertWindowTitleFont()); + attributedText.append (getName(), lf.getAlertWindowTitleFont()); if (text.isNotEmpty()) attributedText.append ("\n\n" + text, messageFont);