[BUG_FIXED] (Author: Ivan Radić - aka Loreia) UDL 2.1 minor bug fixed.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1018 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
Don Ho 2013-02-02 16:29:30 +00:00
parent 04be12a1ae
commit 5e122d0089
2 changed files with 2 additions and 2 deletions

View File

@ -2563,7 +2563,7 @@ void NppParameters::feedUserSettings(TiXmlNode *settingsRoot)
if (prefixNode)
{
const TCHAR *udlVersion = _userLangArray[_nbUserLang - 1]->_udlVersion.c_str();
if (!lstrcmp(udlVersion, TEXT("2.0")))
if (!lstrcmp(udlVersion, TEXT("2.1")) || !lstrcmp(udlVersion, TEXT("2.0")))
{
for (int i = 0 ; i < SCE_USER_TOTAL_KEYWORD_GROUPS ; i++)
{

View File

@ -203,7 +203,7 @@
#define SCE_UDL_VERSION_MAJOR 2
#define SCE_UDL_VERSION_MINOR 1
#define SCE_UDL_VERSION_BUILD 0
#define SCE_UDL_VERSION_REVISION 10
#define SCE_UDL_VERSION_REVISION 12
#define SCE_USER_KWLIST_COMMENTS 0
#define SCE_USER_KWLIST_NUMBER_PREFIX1 1