Skip to content

Commit b9e4871

Browse files
committed
rename and refactor
1 parent 95e7239 commit b9e4871

File tree

4 files changed

+235
-234
lines changed

4 files changed

+235
-234
lines changed

Charu3.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ void CCharu3App::RegisterAdditionalHotkeys()
683683

684684
int nSize = m_pTree->m_MyStringList.size();
685685
HTREEITEM hTreeItem = m_pTree->GetRootItem();
686-
for (int i = 0; i < nSize && hTreeItem; hTreeItem = m_pTree->getTrueNextItem(hTreeItem), i++) {
686+
for (int i = 0; i < nSize && hTreeItem; hTreeItem = m_pTree->GetTrueNextItem(hTreeItem), i++) {
687687
if (hTreeItem) {
688688
data = m_pTree->getDataPtr(hTreeItem);
689689
strKey = m_pTree->getDataOptionStr(data->m_strMacro, EXMACRO_HOT_KEY);
@@ -954,7 +954,7 @@ void CCharu3App::playHotItem(int nTarget)
954954
LOG(_T("Direct copy folder %s"), dataChild.m_strTitle.GetString());
955955
}
956956

957-
m_pTree->addData(keyData.m_hItem, dataChild, true, true);
957+
m_pTree->AddData(keyData.m_hItem, dataChild, true);
958958
}
959959
RegisterAdditionalHotkeys();//追加ホットキーを設定
960960
m_nPhase = PHASE_IDOL;
@@ -1703,7 +1703,7 @@ void CCharu3App::Record(CString text)
17031703
if (m_ini.m_strCopySound != _T("")) {
17041704
PlaySound(m_ini.m_strCopySound, NULL, SND_ASYNC | SND_FILENAME);
17051705
}
1706-
m_pTree->addData(NULL, data);
1706+
m_pTree->AddData(NULL, data);
17071707
m_strPreviousStocked = text;
17081708
}
17091709
}
@@ -2153,7 +2153,7 @@ void CCharu3App::OnAddData()
21532153
CEditDialog editDialog(NULL, &data, true);
21542154
int nRet = editDialog.DoModal();
21552155
if (IDOK == nRet) {
2156-
theApp.m_pTree->addData(NULL, data);
2156+
theApp.m_pTree->AddData(NULL, data);
21572157
}
21582158
}
21592159

0 commit comments

Comments
 (0)