summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/DabMod.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DabMod.cpp b/src/DabMod.cpp
index b6f2dee..25a93bf 100644
--- a/src/DabMod.cpp
+++ b/src/DabMod.cpp
@@ -182,7 +182,7 @@ static shared_ptr<ModOutput> prepare_output(
if (s.fileOutputFormat == "complexf") {
output = make_shared<OutputFile>(s.outputName);
}
- if (s.fileOutputFormat == "complexf_normalised") {
+ else if (s.fileOutputFormat == "complexf_normalised") {
if (s.gainMode == GainMode::GAIN_FIX)
s.normalise = 1.0f / normalise_factor_file_fix;
else if (s.gainMode == GainMode::GAIN_MAX)