[Ttssh2-commit] [6669] 見づらいので条件を整理

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2017年 4月 11日 (火) 02:52:17 JST


Revision: 6669
          http://sourceforge.jp/projects/ttssh2/scm/svn/commits/6669
Author:   doda
Date:     2017-04-11 02:52:17 +0900 (Tue, 11 Apr 2017)
Log Message:
-----------
見づらいので条件を整理

Modified Paths:
--------------
    trunk/teraterm/teraterm/vtdisp.c

-------------- next part --------------
Modified: trunk/teraterm/teraterm/vtdisp.c
===================================================================
--- trunk/teraterm/teraterm/vtdisp.c	2017-04-04 11:55:22 UTC (rev 6668)
+++ trunk/teraterm/teraterm/vtdisp.c	2017-04-10 17:52:17 UTC (rev 6669)
@@ -1649,21 +1649,19 @@
     BitBlt(VTDC,R->left,R->top,R->right - R->left,R->bottom - R->top,hdcBG,R->left,R->top,SRCCOPY);
 }
 
-void BGScrollWindow(HWND hwnd,int xa,int ya,RECT *Rect,RECT *ClipRect)
+void BGScrollWindow(HWND hwnd, int xa, int ya, RECT *Rect, RECT *ClipRect)
 {
-	if (ts.MaximizedBugTweak) {
-		// Eterm lookfeel\x82\xAA\x97L\x8C\xF8\x81A\x82\xE0\x82\xB5\x82\xAD\x82͍ő剻\x83E\x83B\x83\x93\x83h\x83E\x82̏ꍇ\x82̓X\x83N\x83\x8D\x81[\x83\x8B\x82͎g\x82\xED\x82Ȃ\xA2\x81B
-		// \x82\xB1\x82\xEA\x82ɂ\xE6\x82\xE8\x81A\x8Dő剻\x83E\x83B\x83\x93\x83h\x83E\x82ŕ\xB6\x8E\x9A\x8C\x87\x82\xAF\x82ƂȂ錻\x8Fۂ\xAA\x89\xFC\x91P\x82\xB3\x82\xEA\x82\xE9\x81B(2008.2.1 doda, yutaka)
-	  if(BGEnable || IsZoomed(hwnd))
-		InvalidateRect(HVTWin,ClipRect,FALSE);
-	  else
-		ScrollWindow(hwnd,xa,ya,Rect,ClipRect);
-	} else {
-	  if(!BGEnable)
-		ScrollWindow(hwnd,xa,ya,Rect,ClipRect);
-	  else
-		InvalidateRect(HVTWin,ClipRect,FALSE);
+	if (BGEnable) {
+		InvalidateRect(HVTWin, ClipRect, FALSE);
 	}
+	else if (ts.MaximizedBugTweak && IsZoomed(hwnd)) {
+		// \x83E\x83B\x83\x93\x83h\x83E\x8Dő剻\x8E\x9E\x82̕\xB6\x8E\x9A\x8C\x87\x82\xAF\x91΍\xF4
+		// \x97L\x8C\xF8\x8E\x9E\x82\xCD ScrollWindow \x82\xF0\x8Eg\x82킸\x82ɂ\xB7\x82ׂď\x91\x82\xAB\x92\xBC\x82\xB7
+		InvalidateRect(HVTWin, ClipRect, FALSE);
+	}
+	else {
+		ScrollWindow(hwnd, xa, ya, Rect, ClipRect);
+	}
 }
 
 void BGOnEnterSizeMove(void)



Ttssh2-commit メーリングリストの案内
Back to archive index