mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
c51b091e09
commit
72f70cbe5e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user