Whoops lol
This commit is contained in:
parent
8484ace009
commit
949a05fd14
|
@ -68,10 +68,7 @@ static void strncat_len(char* destination, char* source, size_t destinationLengt
|
||||||
|
|
||||||
static void discord_populate_details(char* buffer, int bufferLength) {
|
static void discord_populate_details(char* buffer, int bufferLength) {
|
||||||
// get version
|
// get version
|
||||||
bool stored = gCoopCompatibility;
|
|
||||||
gCoopCompatibility = true;
|
|
||||||
const char* version = get_version();
|
const char* version = get_version();
|
||||||
gCoopCompatibility = stored;
|
|
||||||
int versionLength = strlen(version);
|
int versionLength = strlen(version);
|
||||||
snprintf(buffer, bufferLength, "%s", version);
|
snprintf(buffer, bufferLength, "%s", version);
|
||||||
buffer += versionLength;
|
buffer += versionLength;
|
||||||
|
|
Loading…
Reference in New Issue