diff options
author | David Robillard <d@drobilla.net> | 2017-02-12 18:19:24 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-02-12 18:19:24 +0100 |
commit | 2baf4a1e5393297ce298184cfafe39800f7242ac (patch) | |
tree | 44dbba215d7030ea0912bda77818101511640c31 /src/mdaVocoder.cpp | |
parent | 587316ca143e12d0efcdc95569b4eed40da96189 (diff) | |
download | mda.lv2-2baf4a1e5393297ce298184cfafe39800f7242ac.tar.gz mda.lv2-2baf4a1e5393297ce298184cfafe39800f7242ac.tar.bz2 mda.lv2-2baf4a1e5393297ce298184cfafe39800f7242ac.zip |
Fix misleading indentation warnings with GCC 6
Diffstat (limited to 'src/mdaVocoder.cpp')
-rw-r--r-- | src/mdaVocoder.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mdaVocoder.cpp b/src/mdaVocoder.cpp index bbdb1a2..c5a54aa 100644 --- a/src/mdaVocoder.cpp +++ b/src/mdaVocoder.cpp @@ -224,7 +224,8 @@ void mdaVocoder::getParameterDisplay(int32_t index, char *text) case 0: if(swap) strcpy(string, "RIGHT"); else strcpy(string, "LEFT"); break; case 1: sprintf(string, "%.1f", 40.0f * param[index] - 20.0f); break; case 4: if(param[index]<0.05f) strcpy(string, "FREEZE"); - else sprintf(string, "%.1f", (float)pow(10.0f, 1.0f + 3.0f * param[index])); break; + else sprintf(string, "%.1f", (float)pow(10.0f, 1.0f + 3.0f * param[index])); + break; case 6: sprintf(string, "%.0f", 800.0f * (float)pow(2.0f, 3.0f * param[index] - 2.0f)); break; case 7: if(nbnd==8) strcpy(string, "8 BAND"); else strcpy(string, "16 BAND"); break; |