version updated

This commit is contained in:
ALEXks
2025-05-17 18:51:35 +03:00
parent bcecd5460b
commit 4614e166b4
2 changed files with 4 additions and 4 deletions

View File

@@ -1,3 +1,3 @@
#pragma once #pragma once
#define VERSION_SPF "2419" #define VERSION_SPF "2420"

View File

@@ -766,15 +766,15 @@ int SPF_GetArrayDistribution(void*& context, int winHandler, short *options, sho
else else
printInternalError(convertFileName(__FILE__).c_str(), __LINE__); printInternalError(convertFileName(__FILE__).c_str(), __LINE__);
json allRegionsV = json::array(); json regions = json::array();
for (auto& reg : parallelRegions) for (auto& reg : parallelRegions)
{ {
json currReg = reg->toJson(); json currReg = reg->toJson();
allRegionsV.push_back(currReg); regions.push_back(currReg);
} }
json allRegions; json allRegions;
allRegions["allRegions"] = allRegionsV; allRegions["allRegions"] = regions;
string resVal = allRegions.dump(); string resVal = allRegions.dump();
copyStringToShort(result, resVal); copyStringToShort(result, resVal);