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