From 0dc2ffb40a8f4eeb9713adb6aa2707d09fe4e3c6 Mon Sep 17 00:00:00 2001 From: jofret Date: Tue, 2 Jun 2009 11:35:39 +0000 Subject: Do not overload everything either \t and \n will be trapped --- macros/GeneralFunctions/filenamefprintf.sci | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'macros/GeneralFunctions') 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); -- cgit