]> git.lyx.org Git - features.git/commitdiff
Cmake export tests: Really supply own system fonts only if not specified in document.
authorKornel Benko <kornel@lyx.org>
Sat, 9 Jan 2016 18:49:23 +0000 (19:49 +0100)
committerKornel Benko <kornel@lyx.org>
Sat, 9 Jan 2016 18:49:23 +0000 (19:49 +0100)
development/autotests/lyxStatus.pm

index f67451c5715e28d947962a8d4a2b2e634c6f1774..7707cec402d25722642680b1861450320bcd7dce 100644 (file)
@@ -207,7 +207,7 @@ sub checkForHeader($)
                             "filetype" => "replace_only",
                             "result" => ["\\font_$ff \"", $rFont->{$ff}, '"']);
        # fontentry of type '\font_roman "default" "default"'
-       my $elem2 = newMatch("search" => '^\\\\font_' . $ff . '\s+"(.*)"\s+"(.*)"\s*$',
+       my $elem2 = newMatch("search" => '^\\\\font_' . $ff . '\s+"(.*)"\s+"default"\s*$',
                             "filetype" => "replace_only",
                             "result" => ["\\font_$ff ", '"', "1", '" "', $rFont->{$ff}, '"']);
        push(@rElems, $elem, $elem1, $elem2);