summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/LuaXML.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/LuaXML.cc b/lib/LuaXML.cc
index 62cb57e..a8dfbc0 100644
--- a/lib/LuaXML.cc
+++ b/lib/LuaXML.cc
@@ -103,10 +103,10 @@ static int ParseHandle(lua_State *__L) {
Lua * L = Lua::find(__L);
Handle * h = (Handle *) LuaObject::getme(L, 1);
TiXmlDocument doc;
- Buffer b(true);
+ Buffer b(true);
- b.copyfrom(h);
- doc.Parse(reinterpret_cast<const char *>(b.GetBuffer()));
+ b.copyfrom(h);
+ doc.Parse(reinterpret_cast<const char *>(b.GetBuffer()));
lua_newtable(__L);
ParseNode(__L, &doc);