mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-28 23:13:02 +00:00
Fix small snprintf bug in version.c
This commit is contained in:
parent
11f10a62b1
commit
7d9947816c
1 changed files with 2 additions and 2 deletions
|
@ -59,9 +59,9 @@ const char* get_version_local(void) {
|
||||||
// I want to redo this whole file when I remove sm64ex-coop compatibility
|
// I want to redo this whole file when I remove sm64ex-coop compatibility
|
||||||
const char* get_version_dx(void) {
|
const char* get_version_dx(void) {
|
||||||
#if defined(VERSION_US)
|
#if defined(VERSION_US)
|
||||||
snprintf(sDxVersionString, MAX_LOCAL_VERSION_LENGTH, "v%s", SM64COOPDX_VERSION);
|
snprintf(sDxVersionString, MAX_VERSION_LENGTH, "v%s", SM64COOPDX_VERSION);
|
||||||
#else
|
#else
|
||||||
snprintf(sDxVersionString, MAX_LOCAL_VERSION_LENGTH, "v%s %s", VERSION_TEXT, SM64COOPDX_VERSION, VERSION_REGION);
|
snprintf(sDxVersionString, MAX_VERSION_LENGTH, "v%s %s", SM64COOPDX_VERSION, VERSION_REGION);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return sDxVersionString;
|
return sDxVersionString;
|
||||||
|
|
Loading…
Reference in a new issue