From 4c7e18fd587b4fcb3f3c0b88914e627b3ee6e2e4 Mon Sep 17 00:00:00 2001 From: Don HO Date: Mon, 22 Jul 2019 13:45:31 +0200 Subject: [PATCH] Fix PowerEditor compiling error --- PowerEditor/src/Notepad_plus.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PowerEditor/src/Notepad_plus.cpp b/PowerEditor/src/Notepad_plus.cpp index 8125fa87..5e6a94c0 100644 --- a/PowerEditor/src/Notepad_plus.cpp +++ b/PowerEditor/src/Notepad_plus.cpp @@ -2426,7 +2426,7 @@ void Notepad_plus::addHotSpot() std::vector hotspotPairs; //= _pEditView->GetHotspotPairs(); unsigned char style_hotspot = 0; - unsigned char mask = INDIC1_MASK; + unsigned char mask = 0x40; // INDIC1_MASK; // INDIC2_MASK == 255 and it represents MSB bit // only LEX_HTML and LEX_POSTSCRIPT use use INDIC2_MASK bit internally // LEX_HTML is using INDIC2_MASK bit even though it has only 127 states, so it is safe to overwrite 8th bit @@ -2442,7 +2442,7 @@ void Notepad_plus::addHotSpot() LangType type = _pEditView->getCurrentBuffer()->getLangType(); if (type == L_HTML || type == L_PHP || type == L_ASP || type == L_JSP) - mask = INDIC2_MASK; + mask = 0x80; // INDIC2_MASK; else if (type == L_PS) mask = 16;