From 6904d77e618f391c52bd4a6bc740ded4b5a52fe2 Mon Sep 17 00:00:00 2001 From: N2614 Date: Fri, 3 Jun 2011 02:30:54 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9C=AB=E5=B0=BE=E3=82=92=E8=A1=A8=E7=A4=BA?= =?UTF-8?q?=E4=B8=AD=E3=81=AE=E3=81=BF=E8=87=AA=E5=8B=95=E3=82=B9=E3=82=AF?= =?UTF-8?q?=E3=83=AD=E3=83=BC=E3=83=AB=E3=81=99=E3=82=8B=E3=82=88=E3=81=86?= =?UTF-8?q?=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_Repair@307 385bec56-5757-e545-9c3a-d8741f4650f1 --- trunk/ConsoleDataMigration/sources/common/LogConsole.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/trunk/ConsoleDataMigration/sources/common/LogConsole.cpp b/trunk/ConsoleDataMigration/sources/common/LogConsole.cpp index b77d6d0..0af3ee8 100644 --- a/trunk/ConsoleDataMigration/sources/common/LogConsole.cpp +++ b/trunk/ConsoleDataMigration/sources/common/LogConsole.cpp @@ -74,8 +74,9 @@ void LogConsole::AddText(const char* fmt, ::std::va_list arg) AddWrapedText(str.substr(addedText, m_Width).c_str()); m_LineNum++; + // 画面領域の末尾を描画中 かつ // 画面領域以上追加したら末尾にスクロールする - if(m_LineNum > m_Height) + if(m_CurrentViewLine == (m_LineNum - m_Height - 1) && m_LineNum > m_Height) { ScrollToEnd(); }