[Ttssh2-commit] [7758] エスケープが足りていないのと、終端を\0\0にしなければいけないのを修正

アーカイブの一覧に戻る
scmno****@osdn***** scmno****@osdn*****
2019年 6月 12日 (水) 17:31:32 JST


Revision: 7758
          https://osdn.net/projects/ttssh2/scm/svn/commits/7758
Author:   maya
Date:     2019-06-12 17:31:32 +0900 (Wed, 12 Jun 2019)
Log Message:
-----------
エスケープが足りていないのと、終端を\0\0にしなければいけないのを修正

Modified Paths:
--------------
    trunk/teraterm/teraterm/addsetting.cpp

-------------- next part --------------
Modified: trunk/teraterm/teraterm/addsetting.cpp
===================================================================
--- trunk/teraterm/teraterm/addsetting.cpp	2019-06-11 11:49:52 UTC (rev 7757)
+++ trunk/teraterm/teraterm/addsetting.cpp	2019-06-12 08:31:32 UTC (rev 7758)
@@ -827,7 +827,7 @@
 				memset(szFile, 0, sizeof(szFile));
 				ofn.lStructSize = get_OPENFILENAME_SIZEA();
 				ofn.hwndOwner = m_pSheet->m_hWnd;
-				ofn.lpstrFilter = "Image Files(*.jpg;*.jpeg;*.bmp)\0*.jpg;*.jpeg;*.bmp\0All Files(*.*)\0*.*\0";
+				ofn.lpstrFilter = "Image Files(*.jpg;*.jpeg;*.bmp)\\0*.jpg;*.jpeg;*.bmp\\0All Files(*.*)\\0*.*\\0\\0";
 				ofn.lpstrFile = szFile;
 				ofn.nMaxFile = _countof(szFile);
 				ofn.lpstrTitle = "select image file";


Ttssh2-commit メーリングリストの案内
アーカイブの一覧に戻る