Not Logged In
|
Login
|
Register
Home
|
News
|
Projects
|
Releases
Bugs
|
RFE
|
Repositories
|
Help
projects
/
xestiaab
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Check if std::string version of ProcessSaveDataStrProc has data before processing
[xestiaab/.git]
/
source
/
contacteditor
/
frmContactEditor.cpp
diff --git
a/source/contacteditor/frmContactEditor.cpp
b/source/contacteditor/frmContactEditor.cpp
index
22de535
..
4acb350
100644
(file)
--- a/
source/contacteditor/frmContactEditor.cpp
+++ b/
source/contacteditor/frmContactEditor.cpp
@@
-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;
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software
Xestia Address Book
Xestia Calendar
Development
Xestia Gelforn
Everything else
About
News
Privacy Policy