mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-24 04:55:11 +00:00
Change version string from 'v 36' to 'v36'
This commit is contained in:
parent
b199f203a4
commit
0d7476d7ab
1 changed files with 6 additions and 6 deletions
|
@ -8,15 +8,15 @@ static char sLocalVersionString[MAX_LOCAL_VERSION_LENGTH] = { 0 };
|
||||||
const char* get_version(void) {
|
const char* get_version(void) {
|
||||||
#if defined(VERSION_US)
|
#if defined(VERSION_US)
|
||||||
if (MINOR_VERSION_NUMBER > 0) {
|
if (MINOR_VERSION_NUMBER > 0) {
|
||||||
snprintf(sVersionString, MAX_VERSION_LENGTH, "%s %d.%d", VERSION_TEXT, VERSION_NUMBER, MINOR_VERSION_NUMBER);
|
snprintf(sVersionString, MAX_VERSION_LENGTH, "%s%d.%d", VERSION_TEXT, VERSION_NUMBER, MINOR_VERSION_NUMBER);
|
||||||
} else {
|
} else {
|
||||||
snprintf(sVersionString, MAX_VERSION_LENGTH, "%s %d", VERSION_TEXT, VERSION_NUMBER);
|
snprintf(sVersionString, MAX_VERSION_LENGTH, "%s%d", VERSION_TEXT, VERSION_NUMBER);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
if (MINOR_VERSION_NUMBER > 0) {
|
if (MINOR_VERSION_NUMBER > 0) {
|
||||||
snprintf(sVersionString, MAX_VERSION_LENGTH, "%s %d.%d %s", VERSION_TEXT, VERSION_NUMBER, MINOR_VERSION_NUMBER, VERSION_REGION);
|
snprintf(sVersionString, MAX_VERSION_LENGTH, "%s%d.%d %s", VERSION_TEXT, VERSION_NUMBER, MINOR_VERSION_NUMBER, VERSION_REGION);
|
||||||
} else {
|
} else {
|
||||||
snprintf(sVersionString, MAX_VERSION_LENGTH, "%s %d %s", VERSION_TEXT, VERSION_NUMBER, VERSION_REGION);
|
snprintf(sVersionString, MAX_VERSION_LENGTH, "%s%d %s", VERSION_TEXT, VERSION_NUMBER, VERSION_REGION);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
return sVersionString;
|
return sVersionString;
|
||||||
|
@ -28,9 +28,9 @@ const char* get_version_local(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(VERSION_US)
|
#if defined(VERSION_US)
|
||||||
snprintf(sLocalVersionString, MAX_LOCAL_VERSION_LENGTH, "%s %d.%d.%d", VERSION_TEXT, VERSION_NUMBER, MINOR_VERSION_NUMBER, PATCH_VERSION_NUMBER);
|
snprintf(sLocalVersionString, MAX_LOCAL_VERSION_LENGTH, "%s%d.%d.%d", VERSION_TEXT, VERSION_NUMBER, MINOR_VERSION_NUMBER, PATCH_VERSION_NUMBER);
|
||||||
#else
|
#else
|
||||||
snprintf(sLocalVersionString, MAX_LOCAL_VERSION_LENGTH, "%s %d.%d.%d %s", VERSION_TEXT, VERSION_NUMBER, MINOR_VERSION_NUMBER, PATCH_VERSION_NUMBER, VERSION_REGION);
|
snprintf(sLocalVersionString, MAX_LOCAL_VERSION_LENGTH, "%s%d.%d.%d %s", VERSION_TEXT, VERSION_NUMBER, MINOR_VERSION_NUMBER, PATCH_VERSION_NUMBER, VERSION_REGION);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return sLocalVersionString;
|
return sLocalVersionString;
|
||||||
|
|
Loading…
Reference in a new issue