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

reporting: bug fix: avoid underscores altogether

(cherry picked from commit 359245b6)
parent 6d514623
No related branches found
No related tags found
No related merge requests found
...@@ -138,7 +138,7 @@ drawnow; ...@@ -138,7 +138,7 @@ drawnow;
if isempty(o.figname) if isempty(o.figname)
[junk, tn] = fileparts(tempname); [junk, tn] = fileparts(tempname);
if strcmp(computer, 'PCWIN') || strcmp(computer, 'PCWIN64') if strcmp(computer, 'PCWIN') || strcmp(computer, 'PCWIN64')
tn = strrep(tn, '_', '\_'); tn = strrep(tn, '_', '-');
end end
o.figname = [o.figDirName filesep tn '.tex']; o.figname = [o.figDirName filesep tn '.tex'];
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment