From 934fe51bf74c45e20185aea4907f088e67e41c02 Mon Sep 17 00:00:00 2001 From: Adrien Prokopowicz Date: Sat, 19 Aug 2017 21:18:56 +0200 Subject: [PATCH] XmlElement.RemoveAttribute() does not blow up the interpreter anymore. [GB.XML] * BUG: Fix crash when using XmlElement.RemoveAttribute() --- gb.xml/src/CElement.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gb.xml/src/CElement.cpp b/gb.xml/src/CElement.cpp index 384ab74fd..9e6c3384e 100644 --- a/gb.xml/src/CElement.cpp +++ b/gb.xml/src/CElement.cpp @@ -339,7 +339,7 @@ GB_DESC CElementDesc[] = GB_METHOD("AppendFromText", "", CElement_appendFromText, "(Data)s(Arguments)."), GB_METHOD("GetAttribute", "s", CElement_getAttribute, "(Name)s[(Mode)i]"), - GB_METHOD("RemoveAttribute", "s", CElement_removeAttribute, "(Name)s"), + GB_METHOD("RemoveAttribute", "", CElement_removeAttribute, "(Name)s"), GB_METHOD("SetAttribute", "", CElement_setAttribute, "(Name)s(Value)s"), GB_METHOD("IsAttributeSet", "b", CElement_isAttributeSet, "(Name)s"),