Nikolay Sivov : xmllite/tests: Fix node type names array, indices are sparse.

Alexandre Julliard julliard at winehq.org
Wed Jan 27 12:27:23 CST 2010


Module: wine
Branch: master
Commit: 6b912966a96932e9315347f668232c6154d070af
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=6b912966a96932e9315347f668232c6154d070af

Author: Nikolay Sivov <bunglehead at gmail.com>
Date:   Wed Jan 27 13:49:18 2010 +0300

xmllite/tests: Fix node type names array, indices are sparse.

---

 dlls/xmllite/tests/reader.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/dlls/xmllite/tests/reader.c b/dlls/xmllite/tests/reader.c
index ed43bb5..9bf18ac 100644
--- a/dlls/xmllite/tests/reader.c
+++ b/dlls/xmllite/tests/reader.c
@@ -193,11 +193,16 @@ static const char *type_to_str(XmlNodeType type)
         "XmlNodeType_Attribute",
         "XmlNodeType_Text",
         "XmlNodeType_CDATA",
+        "", "",
         "XmlNodeType_ProcessingInstruction",
         "XmlNodeType_Comment",
+        "",
         "XmlNodeType_DocumentType",
+        "", "",
         "XmlNodeType_Whitespace",
+        "",
         "XmlNodeType_EndElement",
+        "",
         "XmlNodeType_XmlDeclaration"
     };
 




More information about the wine-cvs mailing list