fix flags syntax in json

This commit is contained in:
Vaxry 2022-08-11 21:29:31 +02:00
parent ae175fdda5
commit b3c5809986

View file

@ -433,7 +433,7 @@ R"#({
"commit": "%s", "commit": "%s",
"dirty": %s "dirty": %s
"commit_message": "%s", "commit_message": "%s",
"flags" = [)#", GIT_BRANCH, GIT_COMMIT_HASH, (strcmp(GIT_DIRTY, "dirty") == 0 ? "true" : "false"), removeBeginEndSpacesTabs(GIT_COMMIT_MESSAGE).c_str()); "flags": [)#", GIT_BRANCH, GIT_COMMIT_HASH, (strcmp(GIT_DIRTY, "dirty") == 0 ? "true" : "false"), removeBeginEndSpacesTabs(GIT_COMMIT_MESSAGE).c_str());
#ifdef LEGACY_RENDERER #ifdef LEGACY_RENDERER
result += "\"legacyrenderer\","; result += "\"legacyrenderer\",";