[fpc-devel]Bug in Gettext
Gernot Tenchio
gernot at tenchio.de
Fri Jan 18 19:26:00 CET 2002
Hi,
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);
MfG, Gernot Tenchio
--
office: g.tenchio_AT_telco-tech_DOT_de http://www.telco-tech.de/
privat: gernot_AT_tenchio_DOT_de http://www.tenchio.de/
Person who say it cannot be done should not interrupt person doing it.
--Chinese Proverb
More information about the fpc-devel
mailing list