XmlElement.RemoveAttribute() does not blow up the interpreter anymore.

[GB.XML]
* BUG: Fix crash when using XmlElement.RemoveAttribute()
This commit is contained in:
Adrien Prokopowicz 2017-08-19 21:18:56 +02:00
parent 214a69b036
commit 934fe51bf7
No known key found for this signature in database
GPG key ID: 752A4E1D70CABBE3

View file

@ -339,7 +339,7 @@ GB_DESC CElementDesc[] =
GB_METHOD("AppendFromText", "", CElement_appendFromText, "(Data)s(Arguments)."), GB_METHOD("AppendFromText", "", CElement_appendFromText, "(Data)s(Arguments)."),
GB_METHOD("GetAttribute", "s", CElement_getAttribute, "(Name)s[(Mode)i]"), 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("SetAttribute", "", CElement_setAttribute, "(Name)s(Value)s"),
GB_METHOD("IsAttributeSet", "b", CElement_isAttributeSet, "(Name)s"), GB_METHOD("IsAttributeSet", "b", CElement_isAttributeSet, "(Name)s"),