commit 9422053f4935327e0009672c0f13028246de0363
Author: Kornel Benko <[email protected]>
Date:   Sat Dec 7 13:06:27 2013 +0100

    Cmake test environment.
    
    Expanded search for an image to \ecvpicture{} in the preamble.

diff --git a/development/autotests/lyxStatus.pm 
b/development/autotests/lyxStatus.pm
index 05537e7..9b917cc 100644
--- a/development/autotests/lyxStatus.pm
+++ b/development/autotests/lyxStatus.pm
@@ -194,9 +194,9 @@ sub checkForPreamble($)
     $selem{name} = $1;
     unshift(@stack, \%selem);
     my $rElem = &newMatch("ext" => [".eps", ".png"],
-                         "search" => '^\\\\photo(.*\{)(.*)\}',
-                         "fileidx" => 2,
-                         "result" => ["\\photo", "1", "2", "}"]);
+                         "search" => '^\\\\(photo|ecvpicture)(.*\{)(.*)\}',
+                         "fileidx" => 3,
+                         "result" => ["\\", "1", "2", "3", "}"]);
     &setMatching([$rElem]);
     return(1);
   }

Reply via email to