mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Help Helge debug locale problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10397 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a91f7512b2
commit
a798566541
@ -1,4 +1,8 @@
|
||||
|
||||
2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
|
||||
|
||||
* messages.C (get): add debug output.
|
||||
|
||||
2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
|
||||
|
||||
* text.C (cursorX): fix bug 1965: cursor movement at
|
||||
|
@ -115,6 +115,8 @@ public:
|
||||
}
|
||||
|
||||
char const * works = setlocale(LC_MESSAGES, lang_.c_str());
|
||||
if (!works)
|
||||
lyxerr << "Locale " << lang_ << " could not be set" << std::endl;
|
||||
// CTYPE controls what getmessage thinks what encoding the po file uses
|
||||
string oldCTYPE = setlocale(LC_CTYPE, NULL);
|
||||
setlocale(LC_CTYPE, lang_.c_str());
|
||||
|
Loading…
Reference in New Issue
Block a user