Revision: 10484 https://osdn.net/projects/ttssh2/scm/svn/commits/10484 Author: zmatsuo Date: 2023-01-15 00:33:02 +0900 (Sun, 15 Jan 2023) Log Message: ----------- VS2005でビルドできなくなっていた箇所を修正 Modified Paths: -------------- trunk/teraterm/teraterm/font_pp.cpp -------------- next part -------------- Modified: trunk/teraterm/teraterm/font_pp.cpp =================================================================== --- trunk/teraterm/teraterm/font_pp.cpp 2023-01-14 15:32:50 UTC (rev 10483) +++ trunk/teraterm/teraterm/font_pp.cpp 2023-01-14 15:33:02 UTC (rev 10484) @@ -60,7 +60,7 @@ static void GetDlgLogFont(HWND hWnd, const TTTSet *ts, LOGFONTW *logfont) { - *logfont = {}; + memset(logfont, 0, sizeof(*logfont)); if (ts->DialogFontNameW == NULL || ts->DialogFontNameW[0] == 0) { // \x83t\x83H\x83\x93\x83g\x82\xAA\x90ݒ肳\x82\xEA\x82Ă\xA2\x82Ȃ\xA9\x82\xC1\x82\xBD\x82\xE7OS\x82̃t\x83H\x83\x93\x83g\x82\xF0\x8Eg\x97p\x82\xB7\x82\xE9 GetMessageboxFontW(logfont);