From: John Levon Date: Fri, 25 Apr 2003 15:23:36 +0000 (+0000) Subject: remove the broken asserts in gettext.C for now X-Git-Tag: 1.6.10~16923 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=bdcc9b9a8fdd8d1e68714fe76cc02e8618bf704d;p=features.git remove the broken asserts in gettext.C for now git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6855 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/ChangeLog b/src/ChangeLog index 2ee366b24b..5b19653625 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2003-04-25 John Levon + + * gettext.C: remove the broken asserts for now + 2003-04-25 Lars Gullik Bjønnes * messages.C: make case where setlocale cannot comply work better. diff --git a/src/gettext.C b/src/gettext.C index 2ad36ede3b..d9f86c238f 100644 --- a/src/gettext.C +++ b/src/gettext.C @@ -29,7 +29,8 @@ boost::scoped_ptr lyx_messages; char const * _(char const * str) { - lyx::Assert(str && str[0]); + // This breaks pretty much immediately + // lyx::Assert(str && str[0]); if (!lyx_messages.get()) return str; @@ -40,7 +41,8 @@ char const * _(char const * str) string const _(string const & str) { - lyx::Assert(!str.empty()); + // This breaks pretty much immediately + // lyx::Assert(!str.empty()); if (!lyx_messages.get()) return str;