[Ttssh2-commit] [7254] perlが検出できないとき止まるようにした

scmno****@osdn***** scmno****@osdn*****
2018年 9月 22日 (土) 02:37:45 JST


Revision: 7254
          http://sourceforge.jp/projects/ttssh2/scm/svn/commits/7254
Author:   zmatsuo
Date:     2018-09-22 02:37:44 +0900 (Sat, 22 Sep 2018)
Log Message:
-----------
perlが検出できないとき止まるようにした
vtwinのスクロールバーの扱いを修正

Modified Paths:
--------------
    branches/cmake/libs/openssl.cmake
    branches/cmake/teraterm/teraterm/vtwin.cpp

-------------- next part --------------
Modified: branches/cmake/libs/openssl.cmake
===================================================================
--- branches/cmake/libs/openssl.cmake	2018-09-21 17:37:37 UTC (rev 7253)
+++ branches/cmake/libs/openssl.cmake	2018-09-21 17:37:44 UTC (rev 7254)
@@ -85,7 +85,7 @@
   HINTS c:/cygwin/usr/bin
   HINTS c:/cygwin64/usr/bin
   )
-if(PERL-NOTFOUND)
+if(${PERL} STREQUAL "PERL-NOTFOUND")
   message(FATAL_ERROR "perl not found")
 endif()
 

Modified: branches/cmake/teraterm/teraterm/vtwin.cpp
===================================================================
--- branches/cmake/teraterm/teraterm/vtwin.cpp	2018-09-21 17:37:37 UTC (rev 7253)
+++ branches/cmake/teraterm/teraterm/vtwin.cpp	2018-09-21 17:37:44 UTC (rev 7254)
@@ -6175,7 +6175,7 @@
 		OnGetMinMaxInfo((MINMAXINFO *)lp);
 		break;
 	case WM_HSCROLL:
-		OnHScroll((UINT)wp, 0, (HWND)lp);
+		OnHScroll(LOWORD(wp), HIWORD(wp), (HWND)lp);
 		break;
 	case WM_INITMENUPOPUP:
 		OnInitMenuPopup((HMENU)wp, LOWORD(lp), HIWORD(lp));
@@ -6268,7 +6268,7 @@
 		OnTimer(wp);
 		break;
 	case WM_VSCROLL:
-		OnVScroll((UINT)wp, 0, (HWND)lp);
+		OnVScroll(LOWORD(wp), HIWORD(wp), (HWND)lp);
 		break;
 	case WM_DEVICECHANGE:
 		OnDeviceChange((UINT)wp, (DWORD_PTR)lp);



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