• R/O
  • SSH
  • HTTPS

ttssh2: Commit


Commit MetaInfo

Revisão7599 (tree)
Hora2019-04-19 23:18:09
Autorzmatsuo

Mensagem de Log

不要な_WIN32_WINNTのチェックを削除

Mudança Sumário

Diff

--- trunk/teraterm/common/ttlib.c (revision 7598)
+++ trunk/teraterm/common/ttlib.c (revision 7599)
@@ -1826,8 +1826,6 @@
18261826 */
18271827 void GetDesktopRect(HWND hWnd, RECT *rect)
18281828 {
1829-#if _WIN32_WINNT >= 0x0500
1830- // Windows 2000 以上
18311829 if (HasMultiMonitorSupport()) {
18321830 // マルチモニタがサポートされている場合
18331831 MONITORINFO monitorInfo;
@@ -1835,9 +1833,7 @@
18351833 monitorInfo.cbSize = sizeof(MONITORINFO);
18361834 GetMonitorInfo(hMonitor, &monitorInfo);
18371835 *rect = monitorInfo.rcWork;
1838- } else
1839-#endif
1840- {
1836+ } else {
18411837 // マルチモニタがサポートされていない場合
18421838 SystemParametersInfo(SPI_GETWORKAREA, 0, rect, 0);
18431839 }
Show on old repository browser