Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Add check if multiple properties should be found.
[xestiacalendar/.git] / source / common / text.cpp
index 377377b..ac9def1 100644 (file)
@@ -53,6 +53,16 @@ multimap<string, string> ProcessTextVectors(vector<string> *TextProperties,
                        ProcessResult.insert(make_pair((*TextProperties)[PropertySeekCount], 
                                (*TextValues)[PropertySeekCount]));
                        
+                       // Check to continue if one is found.
+                       
+                       if (SearchMultiple == false){
+                               
+                               // Found one, don't search for anymore.
+                               
+                               break;
+                               
+                       }
+                       
                }
                        
                PropertySeekCount++;
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