Integrating github/staging through commit ab87ed9

This commit is contained in:
alexpete
2021-04-09 11:27:37 -07:00
parent ae62a97894
commit 1044dc3da1
1582 changed files with 29374 additions and 519051 deletions
+9 -5
View File
@@ -48,23 +48,27 @@ struct SFileVersion
char* p;
char* next = nullptr;
size_t strmax = sizeof(t);
if (!(p = azstrtok(t, &strmax, ".", &next)))
[[maybe_unused]] size_t strmax = sizeof(t);
p = azstrtok(t, &strmax, ".", &next);
if (!p)
{
return;
}
v[3] = atoi(p);
if (!(p = azstrtok(nullptr, &strmax, ".", &next)))
p = azstrtok(nullptr, &strmax, ".", &next);
if (!p)
{
return;
}
v[2] = atoi(p);
if (!(p = azstrtok(nullptr, &strmax, ".", &next)))
p = azstrtok(nullptr, &strmax, ".", &next);
if (!p)
{
return;
}
v[1] = atoi(p);
if (!(p = azstrtok(nullptr, &strmax, ".", &next)))
p = azstrtok(nullptr, &strmax, ".", &next);
if (!p)
{
return;
}