From: Kornel Benko Date: Fri, 23 May 2014 09:32:19 +0000 (+0200) Subject: Cmake export tests: Parse also for nameless layouts in lyx-files X-Git-Tag: 2.2.0alpha1~1905 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=b178770ce3dc9e115f69df05fbbb5f83556ffe13;p=lyx.git Cmake export tests: Parse also for nameless layouts in lyx-files --- diff --git a/development/autotests/lyxStatus.pm b/development/autotests/lyxStatus.pm index 8182e49ac1..8a031840e9 100644 --- a/development/autotests/lyxStatus.pm +++ b/development/autotests/lyxStatus.pm @@ -235,7 +235,7 @@ sub checkForLayoutStart($) { my ($l) = @_; - if ($l =~ /^\\begin_layout\s+(.+)$/) { + if ($l =~ /^\\begin_layout\s+(.*)$/) { #print "started layout\n"; my %selem = (); $selem{type} = "layout";