mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-09-25 19:08:47 +02:00
Fix JavaScript listed twice in Language Preferences issue
Fix #16861, fix #4521
This commit is contained in:
parent
8fd2d12ab5
commit
bf6fd373d4
@ -4405,7 +4405,7 @@ intptr_t CALLBACK LanguageSubDlg::run_dlgProc(UINT message, WPARAM wParam, LPARA
|
|||||||
//
|
//
|
||||||
for (int i = L_TEXT ; i < nppParam.L_END ; ++i)
|
for (int i = L_TEXT ; i < nppParam.L_END ; ++i)
|
||||||
{
|
{
|
||||||
if (static_cast<LangType>(i) != L_USER)
|
if (static_cast<LangType>(i) != L_USER && static_cast<LangType>(i) != L_JS_EMBEDDED)
|
||||||
{
|
{
|
||||||
int cmdID = nppParam.langTypeToCommandID(static_cast<LangType>(i));
|
int cmdID = nppParam.langTypeToCommandID(static_cast<LangType>(i));
|
||||||
if ((cmdID != -1))
|
if ((cmdID != -1))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user