From 3a504adb2a4a6c255023da851c93d7e95511e38c Mon Sep 17 00:00:00 2001 From: Angel Ortega Date: Wed, 2 Sep 2009 11:26:37 +0200 Subject: [PATCH] *REALLY* fix 'marks' and 'index' lists. --- Grutatxt.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Grutatxt.pm b/Grutatxt.pm index 62e89bb..04f576d 100644 --- a/Grutatxt.pm +++ b/Grutatxt.pm @@ -220,15 +220,15 @@ sub process $gh->{'-p'} = 0; # clean marks - if (!$gh->{marks}) { - $gh->{marks} = \$gh->{_marks}; + if (!defined $gh->{marks}) { + $gh->{marks} = []; } @{$gh->{'marks'}} = (); # clean index if (!$gh->{index}) { - $gh->{index} = \$gh->{_index}; + $gh->{index} = []; } @{$gh->{'index'}} = (); -- 2.11.4.GIT