]> git.lyx.org Git - features.git/commitdiff
Cmate export tests: Thinko, using entry as array also in cases where it is not
authorKornel Benko <kornel@lyx.org>
Mon, 25 Mar 2019 13:48:17 +0000 (14:48 +0100)
committerKornel Benko <kornel@lyx.org>
Mon, 25 Mar 2019 13:48:17 +0000 (14:48 +0100)
development/autotests/useSystemFonts.pl

index ee65c61c09dae707f3d1269880faac9f01cfeb0a..98fd59acec0accae1f0a51dd29bc4b171894e49a 100644 (file)
@@ -207,7 +207,7 @@ sub interpretedCopy($$$$)
            else {
              my ($newname, $res1);
               my @extlist = ();
-              if (defined($rStatus->{ext}->[1])) {
+              if (ref($rStatus->{ext}) eq "ARRAY" && defined($rStatus->{ext}->[1])) {
                 @extlist = @{$rStatus->{ext}};
               }
               else {