http://sourceforge.net/tracker/index.php?func=detail&aid=429678&group_id=15212&atid=115212

this is because :

    869                         string const s1 = _("Saving document") + ' '
    870                                 + MakeDisplayPath(owner->buffer()->fileName()
    871                                                   + "...");

in lyxfunc.C won't work as the const char * _() will be chosen (contrary to my
comment in the bug, this affects the NLS build).

The simple fix is adding string(_("Saving document")) at that point

However, is there a better fix which will catch these in the future ? I'm rather
concerned this compiled without even a warning. We could have things like this
all over the place :/

for !ENABLE_NLS, we can prolly do #define _(str) string(str) or similar...

thoughts ?

thanks
john

-- 
"Please let's not resume the argument with the usual whining about how
 this feature will wipe out humanity or bring us to the promised land."
        - Charles Campbell on magic words in Subject: headers

Reply via email to