Skip to content
Snippets Groups Projects
Commit d4ca473d authored by Houtan Bastani's avatar Houtan Bastani
Browse files

reporting: for windows filenames escape underscore

(cherry picked from commit 85905cbb)
parent 303ad214
No related branches found
No related tags found
No related merge requests found
......@@ -138,6 +138,7 @@ if isempty(o.figname)
tn = tempname;
if strcmp(computer, 'PCWIN') || strcmp(computer, 'PCWIN64')
tn = strrep(tn, '\', '/');
tn = strrep(tn, '_', '\_');
end
o.figname = [tn '.tex'];
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment