[Ttssh2-commit] [8361] GetOpenFileName() の構造体サイズを get_OPENFILENAME_SIZE() で取得

Back to archive index
scmno****@osdn***** scmno****@osdn*****
2019年 11月 6日 (水) 22:27:20 JST


Revision: 8361
          https://osdn.net/projects/ttssh2/scm/svn/commits/8361
Author:   zmatsuo
Date:     2019-11-06 22:27:19 +0900 (Wed, 06 Nov 2019)
Log Message:
-----------
GetOpenFileName() の構造体サイズを get_OPENFILENAME_SIZE() で取得

Modified Paths:
--------------
    branches/unicode_buf/teraterm/teraterm/vtwin.cpp

-------------- next part --------------
Modified: branches/unicode_buf/teraterm/teraterm/vtwin.cpp
===================================================================
--- branches/unicode_buf/teraterm/teraterm/vtwin.cpp	2019-11-06 13:27:07 UTC (rev 8360)
+++ branches/unicode_buf/teraterm/teraterm/vtwin.cpp	2019-11-06 13:27:19 UTC (rev 8361)
@@ -4235,7 +4235,6 @@
 		OPENFILENAME ofn;
 		memset(&ofn, 0, sizeof(OPENFILENAME));
 		ofn.lStructSize = get_OPENFILENAME_SIZE();
-		ofn.lStructSize = sizeof(ofn);
 		ofn.hwndOwner   = m_hWnd;
 		ofn.lpstrFile = file_name;
 		ofn.nMaxFile = sizeof(file_name);


Ttssh2-commit メーリングリストの案内
Back to archive index