[Po4a-devel]Line counting

Yves Rutschle debian.anti-spam@rutschle.net
Fri, 5 Nov 2004 15:34:28 +0000


Hello all,

Looks like Martin is busy, so I'll post here the patch to
correct the bug 278428 that I reported on Debian's BTS:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=278428

Here's the (big) patch:

diff -c -r1.28 Po.pm
*** lib/Locale/Po4a/Po.pm       25 Aug 2004 00:42:50 -0000      1.28
--- lib/Locale/Po4a/Po.pm       5 Nov 2004 15:33:34 -0000
***************
*** 195,200 ****
--- 195,201 ----
                             $linenum,$line)."\n";
            }
        }
+         $linenum++;
        $msgstr=$buffer;
        $msgid = unquote_text($msgid) if (defined($msgid));
        $msgstr = unquote_text($msgstr) if (defined($msgstr));