[Po4a-commits] "po4a/lib/Locale/Po4a Sgml.pm,1.75,1.76"
Nicolas FRANCOIS
nekral-guest at alioth.debian.org
Wed Sep 14 21:26:51 UTC 2005
Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
In directory haydn:/tmp/cvs-serv13627/lib/Locale/Po4a
Modified Files:
Sgml.pm
Log Message:
The line reference was always incremented by 1.
Index: Sgml.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Sgml.pm,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -d -r1.75 -r1.76
--- Sgml.pm 14 Sep 2005 13:31:06 -0000 1.75
+++ Sgml.pm 14 Sep 2005 21:26:49 -0000 1.76
@@ -759,7 +759,7 @@
# run the appropriate handler for each event
EVENT: while (my $event = $parse->next_event) {
# to build po entries
- my $ref=$refs[$parse->line];
+ my $ref=$refs[$parse->line-1];
my $type;
if ($event->type eq 'start_element') {
More information about the Po4a-commits
mailing list