diff options
-rw-r--r-- | utils/alsoft-config/mainwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/alsoft-config/mainwindow.cpp b/utils/alsoft-config/mainwindow.cpp index 4eb5f25a..9fef1242 100644 --- a/utils/alsoft-config/mainwindow.cpp +++ b/utils/alsoft-config/mainwindow.cpp @@ -493,7 +493,7 @@ void MainWindow::loadConfig(const QString &fname) ui->channelConfigCombo->setCurrentIndex(0); if(channelconfig.isEmpty() == false) { - for(int i = 0;speakerModeList[i].name[i];i++) + for(int i = 0;speakerModeList[i].name[0];i++) { if(channelconfig == speakerModeList[i].value) { @@ -526,7 +526,7 @@ void MainWindow::loadConfig(const QString &fname) * "sinc4". */ if(resampler == "cubic") resampler = "sinc4"; - for(int i = 0;resamplerList[i].name[i];i++) + for(int i = 0;resamplerList[i].name[0];i++) { if(resampler == resamplerList[i].value) { |