From 73d6c5f5fbe4065717b407177eca8e8d82719aec Mon Sep 17 00:00:00 2001 From: Markus Zolliker Date: Tue, 3 Nov 2015 08:29:14 +0100 Subject: [PATCH] put a space after the POL column (bug fix) --- tasscanub.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tasscanub.c b/tasscanub.c index 92d060c1..c721a7aa 100644 --- a/tasscanub.c +++ b/tasscanub.c @@ -491,8 +491,8 @@ static int TASUBHeader(pScanData self) start with the scan variables */ if (pTAS->iPOL >= 0) { - strcpy(pBueffel, "FORMT: (I4,I4,"); - strcpy(pHeader, " PNT PAL"); + strcpy(pBueffel, "FORMT: (I3,1X,I3,1X,"); + strcpy(pHeader, " PNT PAL"); } else { strcpy(pBueffel, "FORMT: (I4,1X,"); strcpy(pHeader, " PNT "); @@ -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); }