projects
/
scilab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
* Bug #15018 fixed - Fileio: mfprintf '\n' not working
[scilab.git]
/
scilab
/
modules
/
fileio
/
src
/
cpp
/
mputl.cpp
diff --git
a/scilab/modules/fileio/src/cpp/mputl.cpp
b/scilab/modules/fileio/src/cpp/mputl.cpp
index
a354745
..
d2a4bfa
100644
(file)
--- a/
scilab/modules/fileio/src/cpp/mputl.cpp
+++ b/
scilab/modules/fileio/src/cpp/mputl.cpp
@@
-74,7
+74,7
@@
mputlError mputl(int _iFileId, wchar_t **pstStrings, int _iSizeStrings, BOOL _CR
{
return MPUTL_ERROR;
}
- if (_CR)
+ if ((i != _iSizeStrings-1) || _CR)
{
iRet = fputs("\n", pF->getFiledesc());
if (iRet == -1)