mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-21 08:28:44 +00:00
CHANGED: #1471 got rid of a crash.
This commit is contained in:
parent
c5a8cecf7e
commit
f9f765430e
1 changed files with 6 additions and 3 deletions
|
@ -998,11 +998,14 @@ namespace NLGUI
|
||||||
std::vector<CInterfaceLink::CTargetInfo> targets;
|
std::vector<CInterfaceLink::CTargetInfo> targets;
|
||||||
|
|
||||||
ptr = (char*) xmlGetProp (cur, (xmlChar*)"target");
|
ptr = (char*) xmlGetProp (cur, (xmlChar*)"target");
|
||||||
std::string target = ptr;
|
std::string target;
|
||||||
if( ( ptr != NULL ) && !editorMode )
|
if( ptr != NULL )
|
||||||
{
|
{
|
||||||
|
target = std::string( ptr );
|
||||||
|
if( !editorMode )
|
||||||
CInterfaceLink::splitLinkTargets(std::string((const char*)ptr), parentGroup, targets);
|
CInterfaceLink::splitLinkTargets(std::string((const char*)ptr), parentGroup, targets);
|
||||||
}
|
}
|
||||||
|
|
||||||
// optional action handler
|
// optional action handler
|
||||||
std::string action;
|
std::string action;
|
||||||
std::string params;
|
std::string params;
|
||||||
|
|
Loading…
Reference in a new issue