• R/O
  • SSH
  • HTTPS

ttssh2: Commit


Commit MetaInfo

Revision8278 (tree)
Time2019-10-08 22:58:45
Authorzmatsuo

Log Message

構造体初期化の警告を修正

Change Summary

Incremental Difference

--- trunk/teraterm/common/compat_win.cpp (revision 8277)
+++ trunk/teraterm/common/compat_win.cpp (revision 8278)
@@ -55,12 +55,12 @@
5555 { "GetDpiForWindow", (void **)&pGetDpiForWindow },
5656 { "MonitorFromRect", (void **)&pMonitorFromRect },
5757 { "AdjustWindowRectExForDpi", (void **)&pAdjustWindowRectExForDpi },
58- { NULL },
58+ {},
5959 };
6060
6161 static const APIInfo Lists_msimg32[] = {
6262 { "AlphaBlend", (void **)&pAlphaBlend },
63- { NULL },
63+ {},
6464 };
6565
6666 static const APIInfo Lists_gdi32[] = {
@@ -68,12 +68,12 @@
6868 { "RemoveFontResourceExA", (void **)&pRemoveFontResourceExA },
6969 { "AddFontResourceExW", (void **)&pAddFontResourceExW },
7070 { "RemoveFontResourceExW", (void **)&pRemoveFontResourceExW },
71- { NULL },
71+ {},
7272 };
7373
7474 static const APIInfo Lists_Shcore[] = {
7575 { "GetDpiForMonitor", (void **)&pGetDpiForMonitor },
76- { NULL },
76+ {},
7777 };
7878
7979 static const DllInfo DllInfos[] = {
@@ -81,7 +81,7 @@
8181 { _T("msimg32.dll"), DLL_LOAD_LIBRARY_SYSTEM, DLL_ACCEPT_NOT_EXIST, Lists_msimg32 },
8282 { _T("gdi32.dll"), DLL_LOAD_LIBRARY_SYSTEM, DLL_ACCEPT_NOT_EXIST, Lists_gdi32 },
8383 { _T("Shcore.dll"), DLL_LOAD_LIBRARY_SYSTEM, DLL_ACCEPT_NOT_EXIST, Lists_Shcore },
84- { NULL },
84+ {},
8585 };
8686
8787 void WinCompatInit()
Show on old repository browser