v1.0.7.11 -- Fix truncated tearline under certain combinations of OS and CPU.

This commit is contained in:
Andrew Leary
2018-11-21 22:07:34 -05:00
parent 73c3ba21cb
commit 0ab1656370
4 changed files with 9 additions and 4 deletions

View File

@@ -408,9 +408,9 @@ char *OsCPU()
*/
char *TearLine()
{
static char tearline[41];
static char tearline[45];
snprintf(tearline, 41, "--- MBSE BBS v%s (%s-%s)", VERSION, OsName(), OsCPU());
snprintf(tearline, 45, "--- MBSE BBS v%s (%s-%s)", VERSION, OsName(), OsCPU());
return tearline;
}