babel: Avoid trouble with '%' in matlab/octave output
Patch by Christopher Long
This commit is contained in:
parent
b1f1cdda40
commit
d2b9343029
|
@ -113,7 +113,7 @@ then create. Return the initialized session."
|
|||
"%s
|
||||
if ischar(ans)
|
||||
fid = fopen('%s', 'w')
|
||||
fprintf(fid, ans)
|
||||
fprintf(fid, '%%s', ans)
|
||||
fprintf(fid, '\\n')
|
||||
fclose(fid)
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue