diff options
Diffstat (limited to 'support/latexindent/LatexIndent/Item.pm')
-rw-r--r-- | support/latexindent/LatexIndent/Item.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/support/latexindent/LatexIndent/Item.pm b/support/latexindent/LatexIndent/Item.pm index d9b191d62f..315e2c35e0 100644 --- a/support/latexindent/LatexIndent/Item.pm +++ b/support/latexindent/LatexIndent/Item.pm @@ -35,6 +35,8 @@ our $itemRegExp; sub construct_list_of_items{ my $self = shift; + $listOfItems = q(); + # put together a list of the items while( my ($item,$lookForThisItem)= each %{$mainSettings{itemNames}}){ $listOfItems .= ($listOfItems eq "")?"$item":"|$item" if($lookForThisItem); |