commit b1862cda449103979b9ce6f24b9183be01ed6cc6
Author: Kornel Benko <[email protected]>
Date:   Fri Dec 6 10:42:26 2013 +0100

    Cmake test environment.
    
    Expanded search for an image to "layout Photo".

diff --git a/development/autotests/lyxStatus.pm 
b/development/autotests/lyxStatus.pm
index b8d0b5f..05537e7 100644
--- a/development/autotests/lyxStatus.pm
+++ b/development/autotests/lyxStatus.pm
@@ -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" => ["", "", ""]);

Reply via email to