fixed
This commit is contained in:
@@ -1171,9 +1171,7 @@ int SPF_GetArrayLinks(void*& context, int winHandler, short *options, short *pro
|
||||
linkedArrays[ref].insert(toAdd);
|
||||
}
|
||||
|
||||
json links;
|
||||
json allLinks = json::array();
|
||||
|
||||
for (auto& array : linkedArrays)
|
||||
{
|
||||
json currLink;
|
||||
@@ -1186,9 +1184,11 @@ int SPF_GetArrayLinks(void*& context, int winHandler, short *options, short *pro
|
||||
|
||||
allLinks.push_back(currLink);
|
||||
}
|
||||
|
||||
json links;
|
||||
links["allLinks"] = allLinks;
|
||||
|
||||
string resVal = allLinks.dump();
|
||||
string resVal = links.dump();
|
||||
copyStringToShort(result, resVal);
|
||||
retSize = (int)resVal.size() + 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user