From e2f942c02637ecf9cab12b1514e94d7c8717c72f Mon Sep 17 00:00:00 2001 From: Triplelexx Date: Wed, 11 Feb 2015 06:11:38 +0000 Subject: [PATCH] Coding standard fixes Corrected else format, removed additional comment to fit other declarations and break block. --- interface/src/ui/ApplicationOverlay.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/interface/src/ui/ApplicationOverlay.cpp b/interface/src/ui/ApplicationOverlay.cpp index 5f4493a08d..f9437221e5 100644 --- a/interface/src/ui/ApplicationOverlay.cpp +++ b/interface/src/ui/ApplicationOverlay.cpp @@ -881,13 +881,12 @@ void ApplicationOverlay::renderAudioMeter() { audioLevel = AUDIO_GREEN_START; } - // Draw Blue Quad + if (audioLevel >= 0) { glm::vec4 quadColor; if (!isClipping) { quadColor = AUDIO_METER_BLUE; - } - else { + } else { quadColor = glm::vec4(1, 1, 1, 1); } // Draw Blue (low level) quad