X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fcontacteditor%2FfrmContactEditor-Sound.cpp;h=24851216d0241039437e980d75f8c4a91ad4af72;hb=2092109d75d34f16962cfa6035ff7bee29a10f2a;hp=c19b947a89291d8c2175c7cec3bb7cd94e203fcf;hpb=d06d0b1d631e7a48c34738397e98651f541d4000;p=xestiaab%2F.git diff --git a/source/contacteditor/frmContactEditor-Sound.cpp b/source/contacteditor/frmContactEditor-Sound.cpp index c19b947..2485121 100644 --- a/source/contacteditor/frmContactEditor-Sound.cpp +++ b/source/contacteditor/frmContactEditor-Sound.cpp @@ -171,7 +171,7 @@ void frmContactEditor::PlaySound( wxCommandEvent& event ) std::map::iterator initier; - initier = SoundsList.find(intSelectedData); + initier = ContactEditorData.SoundsList.find(intSelectedData); base64dec = base64_decode(initier->second); base64declen = base64dec.size(); @@ -219,8 +219,8 @@ void frmContactEditor::SaveSound( wxCommandEvent &event ) std::map::iterator initier; std::map::iterator soundtypeiter; - initier = SoundsList.find(intSelectedData); - soundtypeiter = SoundsListAudioType.find(intSelectedData); + initier = ContactEditorData.SoundsList.find(intSelectedData); + soundtypeiter = ContactEditorData.SoundsListAudioType.find(intSelectedData); // Open up the dialog to save the picture. @@ -241,7 +241,7 @@ void frmContactEditor::SaveSound( wxCommandEvent &event ) std::string base64dec; - initier = SoundsList.find(intSelectedData); + initier = ContactEditorData.SoundsList.find(intSelectedData); base64dec = base64_decode(initier->second); SoundFile.Write(base64dec.c_str(), (size_t)base64dec.size());