[Po4a-commits] "po4a/lib/Locale/Po4a Sgml.pm,1.113,1.114"
Nicolas FRANCOIS
nekral-guest at alioth.debian.org
Sun Oct 22 16:28:21 UTC 2006
Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
In directory haydn:/tmp/cvs-serv10722/lib/Locale/Po4a
Modified Files:
Sgml.pm
Log Message:
Do not start the line references of included files at line #0, but at line #1.
Index: Sgml.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Sgml.pm,v
retrieving revision 1.113
retrieving revision 1.114
diff -u -d -r1.113 -r1.114
--- Sgml.pm 21 Oct 2006 23:58:36 -0000 1.113
+++ Sgml.pm 22 Oct 2006 16:28:19 -0000 1.114
@@ -718,7 +718,7 @@
# Add the references of the added lines
my $i;
for ($i=0; $i<$len; $i++) {
- $refs[$i+$pre] = "$main $entincl{$key}{'filename'}:".($i);
+ $refs[$i+$pre] = "$main $entincl{$key}{'filename'}:".($i+1);
}
if ($begin !~ m/\n[ \t]*$/s) {
More information about the Po4a-commits
mailing list