File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -267,12 +267,8 @@ bool CNormalProcess::InitializeProcess()
267267 // 引数の設定がBOXに反映されない
268268 pEditWnd->m_cDlgGrep .m_strText = gi.cmGrepKey .GetStringPtr (); /* 検索文字列 */
269269 pEditWnd->m_cDlgGrep .m_bSetText = true ;
270- int nSize = std::size (pEditWnd->m_cDlgGrep .m_szFile );
271- wcsncpy ( pEditWnd->m_cDlgGrep .m_szFile , gi.cmGrepFile .GetStringPtr (), nSize ); /* 検索ファイル */
272- pEditWnd->m_cDlgGrep .m_szFile [nSize-1 ] = L' \0 ' ;
273- nSize = std::size (pEditWnd->m_cDlgGrep .m_szFolder );
274- wcsncpy ( pEditWnd->m_cDlgGrep .m_szFolder , cmemGrepFolder.GetStringPtr (), nSize ); /* 検索フォルダー */
275- pEditWnd->m_cDlgGrep .m_szFolder [nSize-1 ] = L' \0 ' ;
270+ pEditWnd->m_cDlgGrep .m_szFile = gi.cmGrepFile .GetStringPtr (); /* 検索ファイル */
271+ pEditWnd->m_cDlgGrep .m_szFolder = cmemGrepFolder.GetStringPtr (); /* 検索フォルダー */
276272
277273 // Feb. 23, 2003 Moca Owner windowが正しく指定されていなかった
278274 int nRet = pEditWnd->m_cDlgGrep .DoModal ( GetProcessInstance (), pEditWnd->GetHwnd (), nullptr );
You can’t perform that action at this time.
0 commit comments