- Fixed a couple of compiler found bugs generated by the new C compiler

- Added support to tasinit for status display part of tas-application
This commit is contained in:
cvs
2001-01-15 10:05:43 +00:00
parent d3b8f38ced
commit e64773949d
26 changed files with 155 additions and 55 deletions

View File

@@ -72,7 +72,7 @@
iRet = NXDinitfromfile(AMORDICT,&hdict);
if(iRet != NX_OK)
{
sprintf(pBueffel,"ERROR: cannot open dictionary file %s");
sprintf(pBueffel,"ERROR: cannot open dictionary file %s",AMORDICT);
SCWrite(pCon,pBueffel,eError);
return 0;
}
@@ -193,14 +193,14 @@
iRet = NXopen(file,NXACC_RDWR,&hfil);
if(iRet != NX_OK)
{
sprintf(pBueffel,"ERROR: cannot open file %s for writing");
sprintf(pBueffel,"ERROR: cannot open file %s for writing",file);
SCWrite(pCon,pBueffel,eError);
return 0;
}
iRet = NXDinitfromfile(AMORDICT,&hdict);
if(iRet != NX_OK)
{
sprintf(pBueffel,"ERROR: cannot open dictionary file %s");
sprintf(pBueffel,"ERROR: cannot open dictionary file %s",AMORDICT);
SCWrite(pCon,pBueffel,eError);
return 0;
}
@@ -319,14 +319,14 @@
iRet = NXopen(file,NXACC_RDWR,&hfil);
if(iRet != NX_OK)
{
sprintf(pBueffel,"ERROR: cannot open file %s for writing");
sprintf(pBueffel,"ERROR: cannot open file %s for writing",file);
SCWrite(pCon,pBueffel,eError);
return 0;
}
iRet = NXDinitfromfile(AMORDICT,&hdict);
if(iRet != NX_OK)
{
sprintf(pBueffel,"ERROR: cannot open dictionary file %s");
sprintf(pBueffel,"ERROR: cannot open dictionary file %s",AMORDICT);
SCWrite(pCon,pBueffel,eError);
return 0;
}