Skip to content

Commit

Permalink
More debug
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg68 committed Dec 15, 2023
1 parent cda39aa commit 1326026
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions src/core/config/GOConfigReaderDB.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,24 +46,23 @@ bool GOConfigReaderDB::ReadData(
= ODF.GetContent();
bool changed = false;

for (std::map<wxString, std::map<wxString, wxString>>::const_iterator i
= entries.begin();
i != entries.end();
i++) {
const std::map<wxString, wxString> &g = i->second;
wxString group = i->first;
for (const auto &ge : entries) {
wxString group = ge.first;
const std::map<wxString, wxString> &g = ge.second;

if (!handle_prefix || group.StartsWith(wxT("_"))) {
if (handle_prefix)
group = group.Mid(1);

for (std::map<wxString, wxString>::const_iterator j = g.begin();
j != g.end();
j++) {
const wxString &key = j->first;
const wxString &value = j->second;
for (const auto &kv : g) {
const wxString &key = kv.first;
const wxString &value = kv.second;
wxString k = group + wxT('/') + key;

if (k == wxT("Reverb/ReverbFile"))
wxLogWarning(
wxT("GOConfigReaderDB::ReadData Reverb/ReverbFile=%s"), value);

if (type == ODFSetting) {
AddEntry(m_ODF, k, value);
if (!m_CaseSensitive)
Expand All @@ -77,7 +76,6 @@ bool GOConfigReaderDB::ReadData(
}
}
}

return changed;
}

Expand Down

0 comments on commit 1326026

Please sign in to comment.