Merge branch 'master' of ssh://gitorious.psi.ch/sinqdev/sics
This commit is contained in:
@ -491,7 +491,7 @@ 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,");
|
||||||
@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user