Not Logged In
|
Login
|
Register
Home
|
News
|
Projects
|
Releases
Bugs
|
RFE
|
Repositories
|
Help
projects
/
xestiacalendar
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40d1051
)
Add check if multiple properties should be found.
author
Steve Brokenshire
<sbrokenshire@xestia.co.uk>
Sat, 23 Jan 2016 12:19:30 +0000
(12:19 +0000)
committer
Steve Brokenshire
<sbrokenshire@xestia.co.uk>
Sat, 23 Jan 2016 12:19:30 +0000
(12:19 +0000)
source/common/text.cpp
patch
|
blob
|
history
diff --git
a/source/common/text.cpp
b/source/common/text.cpp
index
377377b
..
ac9def1
100644
(file)
--- a/
source/common/text.cpp
+++ b/
source/common/text.cpp
@@
-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++;
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software
Xestia Address Book
Xestia Calendar
Development
Xestia Gelforn
Everything else
About
News
Privacy Policy