Fix x64 compiling issue

This commit is contained in:
Don HO 2019-06-25 13:10:50 +02:00
parent d1256c3c83
commit eef1bf0ae9
No known key found for this signature in database
GPG Key ID: 6C429F1D8D84F46E

View File

@ -1235,7 +1235,7 @@ void ScintillaEditView::setLexer(int lexerID, LangType langType, int whichList)
if (svp._indentGuideLineShow) if (svp._indentGuideLineShow)
{ {
int currentIndentMode = execute(SCI_GETINDENTATIONGUIDES); auto currentIndentMode = execute(SCI_GETINDENTATIONGUIDES);
int docIndentMode = isFoldIndentationBased() ? SC_IV_LOOKFORWARD : SC_IV_LOOKBOTH; int docIndentMode = isFoldIndentationBased() ? SC_IV_LOOKFORWARD : SC_IV_LOOKBOTH;
if (currentIndentMode != docIndentMode) if (currentIndentMode != docIndentMode)
execute(SCI_SETINDENTATIONGUIDES, docIndentMode); execute(SCI_SETINDENTATIONGUIDES, docIndentMode);