From: Bruno Haible Date: Fri, 16 May 2008 22:37:42 +0000 (+0000) Subject: Fix typo that could lead to a crash. X-Git-Tag: v0.18~419 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=762e70207866991d04d3c0cb3407665b5a7964bd;p=thirdparty%2Fgettext.git Fix typo that could lead to a crash. --- diff --git a/gettext-tools/src/ChangeLog b/gettext-tools/src/ChangeLog index ef5315712..5be1915b3 100644 --- a/gettext-tools/src/ChangeLog +++ b/gettext-tools/src/ChangeLog @@ -1,3 +1,10 @@ +2008-05-16 Bruno Haible + + * gettext-tools/src/msgl-iconv.c (iconvable_prev_msgid): Fix typo. + Reported by Karl Eichwalder + via Philipp Thomas + at . + 2008-05-10 Bruno Haible * write-po.c: Include unilbrk.h instead of linebreak.h. diff --git a/gettext-tools/src/msgl-iconv.c b/gettext-tools/src/msgl-iconv.c index 285c6a515..c3748094f 100644 --- a/gettext-tools/src/msgl-iconv.c +++ b/gettext-tools/src/msgl-iconv.c @@ -1,5 +1,5 @@ /* Message list charset and locale charset handling. - Copyright (C) 2001-2003, 2005-2007 Free Software Foundation, Inc. + Copyright (C) 2001-2003, 2005-2008 Free Software Foundation, Inc. Written by Bruno Haible , 2001. This program is free software: you can redistribute it and/or modify @@ -411,7 +411,7 @@ iconvable_prev_msgid (iconv_t cd, message_ty *mp) if (mp->prev_msgid != NULL) if (!iconvable_string (cd, mp->prev_msgid)) return false; - if (mp->msgid_plural != NULL) + if (mp->prev_msgid_plural != NULL) if (!iconvable_string (cd, mp->prev_msgid_plural)) return false; return true;