Skip to content
Snippets Groups Projects
Commit 43a7e925 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Include the OS's idea of the CPU architecture in the OS info line

This was previously already included in the os_version() output for *nixes, but not Windows. Now, it's not included in os_version() output for any OS, so use os_cpuarch() here to include its output.
parent ef6ef616
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,7 @@ char* socklib_version(char* str, char* winsock_ver)
#if defined(SBBS) && !defined(JSDOOR)
void sbbs_t::ver()
{
char str[128],compiler[32];
char str[128], compiler[32], os[128], cpu[128];
CRLF;
strcpy(str,VERSION_NOTICE);
......@@ -122,6 +122,7 @@ void sbbs_t::ver()
}
#endif
center(os_version(str, sizeof(str)));
safe_snprintf(str, sizeof(str), "%s %s", os_version(os, sizeof(os)), os_cpuarch(cpu, sizeof(cpu)));
center(str);
}
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment