From: Kornel Benko Date: Fri, 6 Dec 2013 09:42:26 +0000 (+0100) Subject: Cmake test environment. X-Git-Tag: 2.1.0rc1~358 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=b1862cda449103979b9ce6f24b9183be01ed6cc6;p=features.git Cmake test environment. Expanded search for an image to "layout Photo". --- diff --git a/development/autotests/lyxStatus.pm b/development/autotests/lyxStatus.pm index b8d0b5fd82..05537e7acb 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" => ["", "", ""]);