Fix bug #8830: Compile error with disabled NLS

The Messages::gui_lang_ variable is instantiated in the '#ifdef ENABLE_NLS' block. To prevent compile problems, we should also instantiate it when NLS is disabled.
This commit is contained in:
Vincent van Ravesteijn 2013-09-08 18:00:36 +02:00
parent c51b091e09
commit 72f70cbe5e

View File

@ -305,6 +305,8 @@ docstring const Messages::get(string const & m) const
namespace lyx {
std::string Messages::gui_lang_;
Messages::Messages(string const & /* l */) {}
docstring const Messages::get(string const & m) const