commit baa93548c8d977bcd45349f46ab271a86950d022
Author: Kornel Benko <kor...@lyx.org>
Date:   Mon Mar 25 14:48:17 2019 +0100

    Cmate export tests: Thinko, using entry as array also in cases where it is 
not
---
 development/autotests/useSystemFonts.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/development/autotests/useSystemFonts.pl 
b/development/autotests/useSystemFonts.pl
index ee65c61..98fd59a 100644
--- a/development/autotests/useSystemFonts.pl
+++ b/development/autotests/useSystemFonts.pl
@@ -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 {

Reply via email to