From 7883425e38283b3bd1c2f5563e40a7f7c6313ea2 Mon Sep 17 00:00:00 2001 From: turbocat Date: Thu, 2 Dec 2021 20:21:44 +0000 Subject: [PATCH] cmm: full version name is now in title. git-svn-id: svn://kolibrios.org@9358 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/develop/cmm/main.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/programs/develop/cmm/main.cpp b/programs/develop/cmm/main.cpp index d04fd906b8..ffcb7804cc 100644 --- a/programs/develop/cmm/main.cpp +++ b/programs/develop/cmm/main.cpp @@ -270,10 +270,12 @@ int main(int argc,char *argv[]) int count; unsigned char pari=FALSE; char *buffer; - - printf("\nSPHINX C-- Compiler Version %d.%d%s %s\r\n",ver1,ver2,betta,__DATE__); + + char compiler_ver[64]; + snprintf(compiler_ver, 64, "\nSPHINX C-- Compiler Version %d.%d%s %s\r\n",ver1,ver2,betta,__DATE__); + puts(compiler_ver); #ifdef _KOS_ - con_set_title((char*)compilerstr); + con_set_title(compiler_ver); #endif // scrsize=24; if(argc>1){