[BUG_FIXED] Fix a smart indent bug.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1301 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
Don Ho 2014-12-04 18:56:49 +00:00
parent 80da43da5c
commit 724586149a

View File

@ -2422,8 +2422,7 @@ void Notepad_plus::maintainIndentation(TCHAR ch)
}
}
if (indentAmountPrevLine)
_pEditView->setLineIndent(curLine, indentAmountPrevLine);
_pEditView->setLineIndent(curLine, indentAmountPrevLine);
}
else if (ch == '}')