# HG changeset patch # User Markus Mützel # Date 1633707452 -7200 # Node ID 76393baa188d5c9fb058f33c0952c4f2a457dfb2 # Parent a2936935c7c8881338a190a29c4634b8eb1ceaaa 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. diff -r a2936935c7c8 -r 76393baa188d scripts/plot/appearance/legend.m --- 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);