Merge branch 'master' of ssh://gitorious.psi.ch/sinqdev/sics

This commit is contained in:
2015-12-07 14:39:18 +01:00

View File

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