Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Add check if multiple properties should be found.
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sat, 23 Jan 2016 12:19:30 +0000 (12:19 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sat, 23 Jan 2016 12:19:30 +0000 (12:19 +0000)
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