svnno****@sourc*****
svnno****@sourc*****
2016年 10月 3日 (月) 22:54:12 JST
Revision: 6501 http://sourceforge.jp/projects/ttssh2/scm/svn/commits/6501 Author: yutakapon Date: 2016-10-03 22:54:12 +0900 (Mon, 03 Oct 2016) Log Message: ----------- チケット #36655 ログファイルオープンエラー ログダイアログをクローズする際、論理フォントを削除するようにした。 Ticket Links: ------------ http://sourceforge.jp/projects/ttssh2/tracker/detail/36655 Modified Paths: -------------- trunk/teraterm/teraterm/ftdlg.cpp trunk/teraterm/teraterm/ftdlg.h -------------- next part -------------- Modified: trunk/teraterm/teraterm/ftdlg.cpp =================================================================== --- trunk/teraterm/teraterm/ftdlg.cpp 2016-09-28 12:00:33 UTC (rev 6500) +++ trunk/teraterm/teraterm/ftdlg.cpp 2016-10-03 13:54:12 UTC (rev 6501) @@ -216,6 +216,13 @@ void CFileTransDlg::PostNcDestroy() { + // CreateFontIndirect()\x82ō쐬\x82\xB5\x82\xBD\x98_\x97\x9D\x83t\x83H\x83\x93\x83g\x82\xF0\x8D폜\x82\xB7\x82\xE9\x81B + // (2016.10.13 yutaka) + if (DlgFont) { + DeleteObject(DlgFont); + DlgFont = NULL; + } + delete this; } Modified: trunk/teraterm/teraterm/ftdlg.h =================================================================== --- trunk/teraterm/teraterm/ftdlg.h 2016-09-28 12:00:33 UTC (rev 6500) +++ trunk/teraterm/teraterm/ftdlg.h 2016-10-03 13:54:12 UTC (rev 6501) @@ -19,6 +19,10 @@ #endif public: + CFileTransDlg() { + DlgFont = NULL; + } + #ifndef NO_I18N BOOL Create(PFileVar pfv, PComVar pcv, PTTSet pts); #else