Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DIFF差分とウィンドウ一覧ダイアログでファイル名がMAX_PATHぎりぎりだと落ちてしまう不具合の修正 #1413

Merged
merged 2 commits into from
Sep 27, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
ウィンドウ一覧ダイアログでファイル名がMAXPATH近いと落ちる不具合の修正
  • Loading branch information
usagisita committed Sep 26, 2020
commit b864b10938fa18fa27f41b1bdba970fcecd13740
2 changes: 1 addition & 1 deletion sakura_core/dlg/CDlgWindowList.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ void CDlgWindowList::SetData()
::SendMessageAny(pEditNode[i].GetHwnd(), MYWM_GETFILEINFO, 0, 0);
const EditInfo* pEditInfo = &m_pShareData->m_sWorkBuffer.m_EditInfo_MYWM_GETFILEINFO;

WCHAR szName[_MAX_PATH];
WCHAR szName[512];
CFileNameManager::getInstance()->GetMenuFullLabel_WinListNoEscape(szName, _countof(szName), pEditInfo, pEditNode[i].m_nId, i, calc.GetDC());

LV_ITEM lvi;
Expand Down