A number of smaller adpations

This commit is contained in:
2016-02-08 09:23:42 +01:00
parent 4d5468458b
commit 3ec4658208
6 changed files with 91 additions and 10 deletions

View File

@ -400,8 +400,8 @@ static int TASHeader(pScanData self)
start with the scan variables
*/
if (pTAS->iPOL >= 0) {
strcpy(pBueffel, "FORMT: (I4,I4,");
strcpy(pHeader, " PNT PAL");
strcpy(pBueffel, "FORMT: (I4,I4,1X,");
strcpy(pHeader, " PNT PAL");
} else {
strcpy(pBueffel, "FORMT: (I4,1X,");
strcpy(pHeader, " PNT ");
@ -495,7 +495,7 @@ static int TASScanPoint(pScanData self, int iPoint)
write point number
*/
if (pTAS->iPOL > 0) {
sprintf(pBueffel, "%3d %3d", iPoint + 1, pTAS->iPOL);
sprintf(pBueffel, "%3d %3d ", iPoint + 1, pTAS->iPOL);
} else {
sprintf(pBueffel, "%4d ", iPoint + 1);
}