[Po4a-commits] po4a/lib/Locale/Po4a Po.pm,1.28,1.29

Denis Barbier po4a-devel@lists.alioth.debian.org
Fri, 05 Nov 2004 20:33:53 +0000


Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
In directory haydn:/tmp/cvs-serv3458/lib/Locale/Po4a

Modified Files:
	Po.pm 
Log Message:
[Yves Rutschle]
(Locale/Po4a/Po.pm)
* Fix line numbers in error messages.  Closes: #278428


Index: Po.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Po.pm,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- Po.pm	25 Aug 2004 00:42:50 -0000	1.28
+++ Po.pm	5 Nov 2004 20:33:51 -0000	1.29
@@ -195,6 +195,7 @@
 			     $linenum,$line)."\n";
 	    }
 	}
+	$linenum++;
 	$msgstr=$buffer;
 	$msgid = unquote_text($msgid) if (defined($msgid));
 	$msgstr = unquote_text($msgstr) if (defined($msgstr));