summaryrefslogtreecommitdiff
path: root/macros
diff options
context:
space:
mode:
Diffstat (limited to 'macros')
-rw-r--r--macros/GeneralFunctions/filenamefprintf.sci4
1 files changed, 2 insertions, 2 deletions
diff --git a/macros/GeneralFunctions/filenamefprintf.sci b/macros/GeneralFunctions/filenamefprintf.sci
index 99aeb81c..34875e99 100644
--- a/macros/GeneralFunctions/filenamefprintf.sci
+++ b/macros/GeneralFunctions/filenamefprintf.sci
@@ -34,9 +34,9 @@ SCI2CNInArgCheck(argn(2),3,3);
SCI2Cerror(mess);
end
if ennewline=='y' then
- mfprintf(FidReportFile,'%s\n',str);
+ mfprintf(FidReportFile, str+'\n');
else
- mfprintf(FidReportFile,'%s',str);
+ mfprintf(FidReportFile, str);
end
mclose(FidReportFile);