Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Check if std::string version of ProcessSaveDataStrProc has data before processing
[xestiaab/.git] / source / contacteditor / frmContactEditor.cpp
index 22de535..4acb350 100644 (file)
@@ -486,8 +486,16 @@ void frmContactEditor::ProcessSaveDataStrProc( wxString PropName,
     
        strIter = MapData->find(intIterVal);
     
+       if (strIter == MapData->end()){
+               
+               // Ignore this section and return.
+               
+               return;
+               
+       }
+                                                     
        wxString strPropValue;
-    
+
        if (strIter->first == intIterVal){
         
                strPropValue = strIter->second;
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy