mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps/code] VariableBoxController: fix NodeNameCompare when nameLength >
nodeNameLength (step 2)
This commit is contained in:
@@ -269,7 +269,7 @@ int VariableBoxController::NodeNameCompare(ScriptNode * node, const char * name,
|
||||
if (strictlyStartsWith != nullptr && nodeNameLengthStartsWithName) {
|
||||
*strictlyStartsWith = true;
|
||||
}
|
||||
return nodeNameLengthStartsWithName ? *(nodeName + nameLength) : - *(name + nameLength) ;
|
||||
return nodeNameLengthStartsWithName ? *(nodeName + nameLength) : - *(name + nodeNameLength) ;
|
||||
}
|
||||
|
||||
int VariableBoxController::nodesCountForOrigin(NodeOrigin origin) const {
|
||||
|
||||
Reference in New Issue
Block a user