From 2b41abffe6ddcecce579dd1e3b17c7f47b61f507 Mon Sep 17 00:00:00 2001 From: twanvl Date: Sat, 11 Aug 2007 15:47:31 +0000 Subject: [PATCH] Restored "(..)" = "cycle(..)" for spec sort git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@609 0fc631ac-6414-0410-93d0-97cfa31319b6 --- src/util/spec_sort.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/util/spec_sort.cpp b/src/util/spec_sort.cpp index 2e4abe04..3cb0caca 100644 --- a/src/util/spec_sort.cpp +++ b/src/util/spec_sort.cpp @@ -242,6 +242,8 @@ String spec_sort(const String& spec, String& input, String& ret) { } else if (it.keyword(_("cycle("))) { cycle_sort(it.readParam(_(')')), input, ret); + } else if (it.value == _('(')) { + cycle_sort(it.readParam(_(')')), input, ret); } else if (it.keyword(_("compound("))) { // compound item compound_sort(it.readParam(_(')')), input, ret);