mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
compile fix when ENABLE_NLS is not defined.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21622 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
7151f3404a
commit
fa2693ae3d
@ -187,6 +187,7 @@ docstring const Messages::get(string const & m) const
|
||||
{
|
||||
// See comment above
|
||||
boost::smatch sub;
|
||||
static boost::regex const reg("^([^\\[]*)\\[\\[[^\\]]*\\]\\]$");
|
||||
if (regex_match(m, sub, reg))
|
||||
return from_ascii(sub.str(1));
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user