Fix x86 build error
This commit is contained in:
parent
2b87e3a850
commit
15d4dd16e7
@ -2531,9 +2531,9 @@ void Notepad_plus::maintainIndentation(TCHAR ch)
|
||||
{
|
||||
// if no character in front of {, aligned with prev line's indentation
|
||||
auto startPos = _pEditView->execute(SCI_POSITIONFROMLINE, curLine);
|
||||
auto endPos = _pEditView->execute(SCI_GETCURRENTPOS);
|
||||
LRESULT endPos = _pEditView->execute(SCI_GETCURRENTPOS);
|
||||
|
||||
for (long long i = endPos - 2; i > 0 && i > startPos; --i)
|
||||
for (LRESULT i = endPos - 2; i > 0 && i > startPos; --i)
|
||||
{
|
||||
UCHAR aChar = (UCHAR)_pEditView->execute(SCI_GETCHARAT, i);
|
||||
if (aChar != ' ' && aChar != '\t')
|
||||
|
Loading…
Reference in New Issue
Block a user