fix variables

Origin commit data
------------------
Branch: ni/coolstream
Commit: 6be5ef866f
Author: BPanther <bpanther_ts@hotmail.com>
Date: 2021-10-15 (Fri, 15 Oct 2021)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
BPanther
2021-10-15 14:55:29 +02:00
committed by vanhofen
parent 2aa39b1397
commit fa0e52a893
2 changed files with 3 additions and 3 deletions

View File

@@ -1175,7 +1175,7 @@ int CNeutrinoApp::loadSetup(const char *fname)
sprintf(cfg_key, "quadpip_channel_window_%d", i);
g_settings.quadpip_channel_window[i] = configfile.getString(cfg_key, "-");
sprintf(cfg_key, "quadpip_channel_id_window_%d", i);
g_settings.quadpip_channel_id_window[i] = configfile.getInt32(cfg_key, 0);
g_settings.quadpip_channel_id_window[i] = configfile.getInt64(cfg_key, 0);
}
#endif
@@ -2189,7 +2189,7 @@ void CNeutrinoApp::saveSetup(const char *fname)
std::string qp = "quadpip_channel_window_" + to_string(i);
configfile.setString(qp, g_settings.quadpip_channel_window[i]);
qp = "quadpip_channel_id_window_" + to_string(i);
configfile.setInt32(qp, g_settings.quadpip_channel_id_window[i]);
configfile.setInt64(qp, g_settings.quadpip_channel_id_window[i]);
}
#endif