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