cmm: fixed con_set_title call

git-svn-id: svn://kolibrios.org@9355 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
turbocat 2021-12-02 19:26:43 +00:00
parent 2a13666707
commit 9067bf0a18

View File

@ -222,6 +222,11 @@ int MakePE();
int MakeObj();
void CheckUndefClassProc();
#ifdef _KOS_
extern "C"{
void con_set_title(char* title);
}
#endif
void ListId(int numfirstchar,unsigned char *list,unsigned short *ofs)
{
@ -267,8 +272,9 @@ unsigned char pari=FALSE;
char *buffer;
printf("\nSPHINX C-- Compiler Version %d.%d%s %s\r\n",ver1,ver2,betta,__DATE__);
con_set_title(compilerstr);
#ifdef _KOS_
con_set_title((char*)compilerstr);
#endif
// scrsize=24;
if(argc>1){
_Argv=argv;// This make portable code