mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-05 13:26:21 +00:00
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
This commit is contained in:
parent
54852ff8e9
commit
bdcc9b9a8f
@ -1,3 +1,7 @@
|
||||
2003-04-25 John Levon <levon@movementarian.org>
|
||||
|
||||
* gettext.C: remove the broken asserts for now
|
||||
|
||||
2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
|
||||
|
||||
* messages.C: make case where setlocale cannot comply work better.
|
||||
|
@ -29,7 +29,8 @@ boost::scoped_ptr<Messages> 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;
|
||||
|
Loading…
Reference in New Issue
Block a user