From 24f5ba570ec48d8a9e87e57b1011c88c3f5496df Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 10 Jan 2016 23:27:30 +0000 Subject: [PATCH] Added check for timezone for frmContactEditorAddress --- source/contacteditor/frmContactEditorAddress.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/contacteditor/frmContactEditorAddress.cpp b/source/contacteditor/frmContactEditorAddress.cpp index bc1b44c..921ce48 100644 --- a/source/contacteditor/frmContactEditorAddress.cpp +++ b/source/contacteditor/frmContactEditorAddress.cpp @@ -481,7 +481,7 @@ void frmContactEditorAddress::SetEditorMode( bool EditMode, SectionType SectType striter = AddressListTimezonePtr->find(AddressListIndex); - if (striter->first == AddressListIndex){ + if (striter->first == AddressListIndex && striter != AddressListTimezonePtr->end()){ strValue = striter->second; -- 2.39.5