QuakeGod
2024-12-24 61deef5cdf96cbfdd6ad45be49e80d597c00ca65
MyLib/LOGGER/Logger.hpp
@@ -531,6 +531,7 @@
         {
            m_pLogWnd->LineScroll(line1-line2);
         }
         m_pLogWnd->UpdateWindow();
      }else if (IsLogWndAttached==2 && m_pRichLogWnd && IsWindow(m_pRichLogWnd->m_hWnd))
      {
         if (LogTextLength[channel]>2000000)
@@ -562,7 +563,9 @@
         {
            m_pRichLogWnd->LineScroll(line1-line2);
         }
         m_pRichLogWnd->PostMessage(WM_VSCROLL, SB_BOTTOM, 0);
      //   m_pRichLogWnd->PostMessage(WM_VSCROLL, SB_BOTTOM, 0);
         m_pRichLogWnd->SendMessage(WM_VSCROLL, SB_BOTTOM, 0);
         m_pRichLogWnd->UpdateWindow();
      }
      strChangedLog[channel].Empty();