Fixed: < was matched by spec_sort "<xyz>"

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@421 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2007-06-14 14:24:49 +00:00
parent 8b11433cbd
commit 6e55175f51
+1 -1
View File
@@ -489,7 +489,7 @@ String spec_sort(const String& spec, const String& input) {
Char c = spec.GetChar(pos);
if (c == _('<')) { // keep only a single copy
for ( ; pos < spec.size() ; ++pos) {
for ( ++pos ; pos < spec.size() ; ++pos) {
Char c = spec.GetChar(pos);
if (c == _('>')) break;
if (input.find_first_of(c) != String::npos) {