Mercurial > octave
diff scripts/plot/appearance/legend.m @ 30233:76393baa188d
legend.m: Avoid TeX parser warning if interpreter is set to "none" (bug #61311).
* scripts/plot/appearance/legend.m (create_item): Set remaining properties
before setting string to avoid bogus TeX warnings for strings that are allowed
to be invalid TeX.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Fri, 08 Oct 2021 17:37:32 +0200 |
parents | 6375e8ed2838 |
children | ccc991d563ce |
line wrap: on
line diff
--- a/scripts/plot/appearance/legend.m Thu Oct 07 17:08:44 2021 -0400 +++ b/scripts/plot/appearance/legend.m Fri Oct 08 17:37:32 2021 +0200 @@ -1172,7 +1172,7 @@ endswitch - htxt = __go_text__ (hl, "string", str, txtpval{:}); + htxt = __go_text__ (hl, txtpval{:}, "string", str); addproperty ("peer_object", htxt, "double", base_hplt); addproperty ("peer_object", hicon, "double", base_hplt);