]> git.lyx.org Git - features.git/commitdiff
Cmake test environment.
authorKornel Benko <kornel@lyx.org>
Fri, 6 Dec 2013 09:42:26 +0000 (10:42 +0100)
committerKornel Benko <kornel@lyx.org>
Fri, 6 Dec 2013 09:42:26 +0000 (10:42 +0100)
Expanded search for an image to "layout Photo".

development/autotests/lyxStatus.pm

index b8d0b5fd828baa734b7292e7e2e00a053431b0ba..05537e7acb93d6c280ea59a89b98f8a9b9927b66 100644 (file)
@@ -213,7 +213,7 @@ sub checkForLayoutStart($)
     $selem{type} = "layout";
     $selem{name} = $1;
     unshift(@stack, \%selem);
-    if ($selem{name} eq "Picture") {
+    if ($selem{name} =~ /^(Picture|Photo)$/ ) {
       my $rElem = &newMatch("ext" => [".eps", ".png"],
                            "search" => '^(.+)',
                            "result" => ["", "", ""]);