Fix a typo
This commit is contained in:
parent
3101a2f395
commit
c05f24a3f6
@ -508,7 +508,7 @@ LRESULT Notepad_plus::init(HWND hwnd)
|
||||
}
|
||||
}
|
||||
|
||||
// Add User Define Languages Entry
|
||||
// Add User Defined Languages Entry
|
||||
int udlpos = ::GetMenuItemCount(hLangMenu) - 1;
|
||||
|
||||
for (int i = 0, len = pNppParam->getNbUserLang(); i < len ; ++i)
|
||||
|
@ -96,7 +96,7 @@ LanguageName ScintillaEditView::langNames[L_EXTERNAL+1] = {
|
||||
{TEXT("batch"), TEXT("Batch"), TEXT("Batch file"), L_BATCH, SCLEX_BATCH},
|
||||
{TEXT("ini"), TEXT("ini"), TEXT("MS ini file"), L_INI, SCLEX_PROPERTIES},
|
||||
{TEXT("nfo"), TEXT("NFO"), TEXT("MSDOS Style/ASCII Art"), L_ASCII, SCLEX_NULL},
|
||||
{TEXT("udf"), TEXT("udf"), TEXT("User Define File"), L_USER, SCLEX_USER},
|
||||
{TEXT("udf"), TEXT("udf"), TEXT("User Defined language file"), L_USER, SCLEX_USER},
|
||||
{TEXT("asp"), TEXT("ASP"), TEXT("Active Server Pages script file"), L_ASP, SCLEX_HTML},
|
||||
{TEXT("sql"), TEXT("SQL"), TEXT("Structured Query Language file"), L_SQL, SCLEX_SQL},
|
||||
{TEXT("vb"), TEXT("Visual Basic"), TEXT("Visual Basic file"), L_VB, SCLEX_VB},
|
||||
|
@ -977,7 +977,7 @@ void UserDefineDialog::reloadLangCombo()
|
||||
{
|
||||
NppParameters *pNppParam = NppParameters::getInstance();
|
||||
::SendDlgItemMessage(_hSelf, IDC_LANGNAME_COMBO, CB_RESETCONTENT, 0, 0);
|
||||
::SendDlgItemMessage(_hSelf, IDC_LANGNAME_COMBO, CB_ADDSTRING, 0, reinterpret_cast<LPARAM>(TEXT("User Define Language")));
|
||||
::SendDlgItemMessage(_hSelf, IDC_LANGNAME_COMBO, CB_ADDSTRING, 0, reinterpret_cast<LPARAM>(TEXT("User Defined Language")));
|
||||
for (int i = 0, nb = pNppParam->getNbUserLang(); i < nb ; ++i)
|
||||
{
|
||||
UserLangContainer & userLangContainer = pNppParam->getULCFromIndex(i);
|
||||
|
Loading…
Reference in New Issue
Block a user