mirror of https://github.com/OpenRCT2/OpenRCT2.git
Merge pull request #2715 from janisozaur/build-id
Drop number from build ID.
This commit is contained in:
commit
69bc5e1c94
|
@ -83,11 +83,8 @@ void openrct2_write_full_version_info(utf8 *buffer, size_t bufferSize)
|
||||||
if (!str_is_null_or_empty(OPENRCT2_BRANCH)) {
|
if (!str_is_null_or_empty(OPENRCT2_BRANCH)) {
|
||||||
sprintf(strchr(buffer, 0), "-%s", OPENRCT2_BRANCH);
|
sprintf(strchr(buffer, 0), "-%s", OPENRCT2_BRANCH);
|
||||||
}
|
}
|
||||||
if (!str_is_null_or_empty(OPENRCT2_BUILD_NUMBER)) {
|
|
||||||
sprintf(strchr(buffer, 0), " build %s", OPENRCT2_BUILD_NUMBER);
|
|
||||||
}
|
|
||||||
if (!str_is_null_or_empty(OPENRCT2_COMMIT_SHA1_SHORT)) {
|
if (!str_is_null_or_empty(OPENRCT2_COMMIT_SHA1_SHORT)) {
|
||||||
sprintf(strchr(buffer, 0), " (%s)", OPENRCT2_COMMIT_SHA1_SHORT);
|
sprintf(strchr(buffer, 0), " build %s", OPENRCT2_COMMIT_SHA1_SHORT);
|
||||||
}
|
}
|
||||||
if (!str_is_null_or_empty(OPENRCT2_BUILD_SERVER)) {
|
if (!str_is_null_or_empty(OPENRCT2_BUILD_SERVER)) {
|
||||||
sprintf(strchr(buffer, 0), " provided by %s", OPENRCT2_BUILD_SERVER);
|
sprintf(strchr(buffer, 0), " provided by %s", OPENRCT2_BUILD_SERVER);
|
||||||
|
|
Loading…
Reference in New Issue