fixed firstLine{Of,After}Selection typo

This commit is contained in:
Jeff Linahan 2022-06-02 19:52:25 -04:00
parent f0ec670026
commit 15ed5d27b9

View file

@ -213,7 +213,7 @@ namespace Mesen.GUI.Debugger.Controls
firstLineOfSelection++;
}
int firstLineAfterSelection = ctrlCode.SelectionStart + ctrlCode.SelectionLength + 1;
while(firstLineOfSelection < lineCount && _manager.Provider.GetLineAddress(firstLineAfterSelection) < 0) {
while(firstLineAfterSelection < lineCount && _manager.Provider.GetLineAddress(firstLineAfterSelection) < 0) {
firstLineAfterSelection++;
}