X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fgettext.C;h=49158949ce3a10148bbcccefc77478799881b80b;hb=67ef45b7c842efd9c971112627109724564f0c74;hp=3c3c0e253f603feb292f528fd5d1049f359320b8;hpb=4eb5ce69523be51d0defa92b4720d0b4ea037977;p=lyx.git diff --git a/src/gettext.C b/src/gettext.C index 3c3c0e253f..49158949ce 100644 --- a/src/gettext.C +++ b/src/gettext.C @@ -7,6 +7,9 @@ char const * _(char const * str) { + // I'd rather have an Assert on str, we should not allow + // null pointers here. Lgb + // Assert(str); if (str && str[0]) return gettext(str); else