- Removed trim in sicsget: caused line breaks in text to disappear which was not desired

This commit is contained in:
2014-06-25 08:46:54 +02:00
parent a27f0d9b94
commit d6faaa593a

View File

@ -81,7 +81,7 @@ static int SICSGetCommand(SConnection * pCon, SicsInterp * pSics, void *pData,
if(status){ if(status){
data = formatValue(v,NULL); data = formatValue(v,NULL);
if(data != NULL){ if(data != NULL){
SCPrintf(pCon,eValue,"%s",trim(GetCharArray(data))); SCWrite(pCon,GetCharArray(data),eValue);
DeleteDynString(data); DeleteDynString(data);
} else { } else {
SCPrintf(pCon,eError,"ERROR: formatting value for %s failed", argv[1]); SCPrintf(pCon,eError,"ERROR: formatting value for %s failed", argv[1]);