Mercurial > octave
changeset 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 | a2936935c7c8 |
children | 3646ef5efd27 |
files | scripts/plot/appearance/legend.m |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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);