From d1d523fd122a3f473fb3c4f558f927bead1870ee Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Tue, 30 Aug 2022 21:28:26 +0200 Subject: [PATCH] Update imgui_logger.cpp --- r5dev/thirdparty/imgui/src/imgui_logger.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r5dev/thirdparty/imgui/src/imgui_logger.cpp b/r5dev/thirdparty/imgui/src/imgui_logger.cpp index 99238006..a8dfd0ec 100644 --- a/r5dev/thirdparty/imgui/src/imgui_logger.cpp +++ b/r5dev/thirdparty/imgui/src/imgui_logger.cpp @@ -1348,7 +1348,7 @@ void CTextLogger::MoveSelection(int aLines, bool aForward) if (newEnd.m_nLine >= static_cast(m_Lines.size())) { newEnd.m_nLine = static_cast(m_Lines.size()) - 1; - newEnd.m_nColumn = GetLineMaxColumn(newStart.m_nLine); + newEnd.m_nColumn = GetLineMaxColumn(newEnd.m_nLine); } } else