[Ttssh2-commit] [7497] patch(Ttssh2-devel 3599)

scmno****@osdn***** scmno****@osdn*****
2019年 3月 18日 (月) 23:01:47 JST


Revision: 7497
          http://sourceforge.jp/projects/ttssh2/scm/svn/commits/7497
Author:   zmatsuo
Date:     2019-03-18 23:01:46 +0900 (Mon, 18 Mar 2019)
Log Message:
-----------
patch(Ttssh2-devel 3599)

Modified Paths:
--------------
    trunk/teraterm/teraterm/teraterm.cpp
    trunk/teraterm/teraterm/vtdisp_delay.c

-------------- next part --------------
Modified: trunk/teraterm/teraterm/teraterm.cpp
===================================================================
--- trunk/teraterm/teraterm/teraterm.cpp	2019-03-18 14:01:33 UTC (rev 7496)
+++ trunk/teraterm/teraterm/teraterm.cpp	2019-03-18 14:01:46 UTC (rev 7497)
@@ -305,6 +305,7 @@
 
 	if (Busy == 0) {
 		if (IsUpdateTerm()) {
+			UpdateTerm();
 			Busy++;
 		}
 	}

Modified: trunk/teraterm/teraterm/vtdisp_delay.c
===================================================================
--- trunk/teraterm/teraterm/vtdisp_delay.c	2019-03-18 14:01:33 UTC (rev 7496)
+++ trunk/teraterm/teraterm/vtdisp_delay.c	2019-03-18 14:01:46 UTC (rev 7497)
@@ -88,8 +88,8 @@
 {
 	OutputDebugPrintf("DispUpdateScroll\n");
 	UpdateInfo.Type = WHOLE_TERM;
-	UpdateInfo.NewOrgX += NewOrgX;
-	UpdateInfo.NewOrgY += NewOrgY;
+	UpdateInfo.NewOrgX = NewOrgX;
+	UpdateInfo.NewOrgY = NewOrgY;
 	dScroll = 0;
 }
 
@@ -157,7 +157,7 @@
 		InvalidateRect(HVTWin, NULL, FALSE);
 	} else
 #endif
-	if (UpdateInfo.Type == WHOLE_TERM) {
+	if (UpdateInfo.Type == WHOLE_TERM || NewOrgY != WinOrgY) {
 		if ((now - UpdateInfo.UpdateTick) < DISPLAY_INTERVAL) {
 			return;
 		}
@@ -169,6 +169,8 @@
 
 	WinOrgX = NewOrgX;
 	WinOrgY = NewOrgY;
+	UpdateInfo.NewOrgX = 0;
+	UpdateInfo.NewOrgY = 0;
 	UpdateInfo.UpdateTick = now;
 	UpdateInfo.Type = NONE;
 


Ttssh2-commit メーリングリストの案内