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:
parent
094bbd6e9a
commit
27a6716db6
1 changed files with 4 additions and 1 deletions
|
@ -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" );
|
||||
|
|
Loading…
Reference in a new issue