- 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:
10
nxamor.c
10
nxamor.c
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user