return;
}
- if (PictureLogo == TRUE){
-
+ if (PictureLogo == TRUE){
PictureListCtrlPtr->SetItem(longSelected, 0, _("Picture"));
} else {
striter = PictureListTypePtr->find(PictureListIndex);
- if (striter->first == PictureListIndex){
+ if (striter->first == PictureListIndex &&
+ striter != PictureListTypePtr->end()){
strValue = striter->second;
intiter = PictureListPrefPtr->find(PictureListIndex);
- if (intiter->first == PictureListIndex && intiter->second > 0){
+ if (intiter->first == PictureListIndex && intiter->second > 0 &&
+ intiter != PictureListPrefPtr->end()){
sliPriority->SetValue(intiter->second);
sliPriority->Enable();