summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/latexindent/LatexIndent/FileContents.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/scripts/latexindent/LatexIndent/FileContents.pm')
-rw-r--r--Master/texmf-dist/scripts/latexindent/LatexIndent/FileContents.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/Master/texmf-dist/scripts/latexindent/LatexIndent/FileContents.pm b/Master/texmf-dist/scripts/latexindent/LatexIndent/FileContents.pm
index a1b56391f2c..d4d13507a13 100644
--- a/Master/texmf-dist/scripts/latexindent/LatexIndent/FileContents.pm
+++ b/Master/texmf-dist/scripts/latexindent/LatexIndent/FileContents.pm
@@ -158,6 +158,8 @@ sub find_file_contents_environments_and_preamble{
$preamble->unprotect_blank_lines;
${$self}{verbatim}{${$preamble}{id}} = $preamble;
}
+ } else {
+ ${$self}{preamblePresent} = 0;
}
# loop through the fileContents array, check if it's in the preamble