CHANGED: #1471 Apparently when parsing variables, the parser changes the parsed entry, so better to re-read it from the XML-tree when caching.

This commit is contained in:
dfighter1985 2012-08-18 00:27:52 +02:00
parent 094bbd6e9a
commit 27a6716db6

View file

@ -1125,7 +1125,10 @@ namespace NLGUI
{
VariableData data;
data.entry = entry;
ptr = xmlGetProp( cur, BAD_CAST "entry" );
if( ptr != NULL )
data.entry = std::string( ptr );
data.type = type;
ptr = xmlGetProp( cur, BAD_CAST "value" );