summaryrefslogtreecommitdiff
path: root/macros/GeneralFunctions
diff options
context:
space:
mode:
authorjofret2009-06-02 11:35:39 +0000
committerjofret2009-06-02 11:35:39 +0000
commit0dc2ffb40a8f4eeb9713adb6aa2707d09fe4e3c6 (patch)
tree3728adae5afd3b5199e752c036d4831c76d5acb9 /macros/GeneralFunctions
parent7e9e5b32b06d7774cbb948d57c9d0bae2dfdc554 (diff)
downloadscilab2c-0dc2ffb40a8f4eeb9713adb6aa2707d09fe4e3c6.tar.gz
scilab2c-0dc2ffb40a8f4eeb9713adb6aa2707d09fe4e3c6.tar.bz2
scilab2c-0dc2ffb40a8f4eeb9713adb6aa2707d09fe4e3c6.zip
Do not overload everything either \t and \n will be trapped
Diffstat (limited to 'macros/GeneralFunctions')
-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);