[fpc-devel]Bug in Gettext

Peter Vreman peter at freepascal.org
Fri Jan 18 22:39:16 CET 2002

At 19:26 18-1-02, you wrote:
>After some hours of debugging my own application i have found a bug in the 
>gettext unit.
>Line 131 of gettext.pp:
>         GetMem(TranslStrings^[i], TranslTable^[i].length);
>should be replaced with:
>         GetMem(TranslStrings^[i], TranslTable^[i].length + 1);

Thanks for reporting, it's fixed


More information about the fpc-devel mailing list