mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-30 01:04:57 +02:00
Fix applying MS-Dos style displayed incorrectly issue
This commit is contained in:
parent
dd0b557e14
commit
3426d58339
@ -132,6 +132,8 @@ void Buffer::setLangType(LangType lang, const wchar_t* userLangName)
|
||||
_lang = lang;
|
||||
if (_lang == L_USER)
|
||||
_userLangExt = userLangName;
|
||||
else if (_lang == L_ASCII)
|
||||
_encoding = NPP_CP_DOS_437;
|
||||
|
||||
_needLexer = true; //change of lang means lexern needs updating
|
||||
doNotify(BufferChangeLanguage | BufferChangeLexing);
|
||||
|
Loading…
x
Reference in New Issue
Block a user