summaryrefslogtreecommitdiff
path: root/xml
diff options
context:
space:
mode:
Diffstat (limited to 'xml')
-rw-r--r--xml/parser.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/xml/parser.c b/xml/parser.c
index 71c9453..c6ba202 100644
--- a/xml/parser.c
+++ b/xml/parser.c
@@ -1,5 +1,5 @@
/*
- * $Id: parser.c,v 1.1 2004/12/19 22:03:27 lordjaxom Exp $
+ * $Id: parser.c,v 1.2 2004/12/21 20:36:12 lordjaxom Exp $
*/
#include "xml/parser.h"
@@ -153,7 +153,8 @@ bool xStartElem(const std::string &name, std::map<std::string,std::string> &attr
ATTRIB_OPT_FUNC ("align", object->ParseAlignment);
ATTRIB_OPT_FUNC ("font", object->ParseFontFace);
- object->mIndex = mindex++;
+ if (name == "marquee")
+ object->mIndex = mindex++;
}
else if (name == "rectangle") {
ATTRIB_OPT_STRING("color", object->mFg);