Update Debugger-Scripts.cpp
Fix title case and capitalization
This commit is contained in:
parent
1755dedff6
commit
5682b9d5b7
|
@ -439,7 +439,7 @@ void CDebugScripts::RunSelected()
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
m_Debugger->Debug_LogScriptsWindow("[Error: Script is already running]\n");
|
m_Debugger->Debug_LogScriptsWindow("[Error: script is already running]\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -513,7 +513,7 @@ LRESULT CEditEval::OnKeyDown(UINT /*uMsg*/, WPARAM wParam, LPARAM /*lParam*/, BO
|
||||||
SetWindowText(L"");
|
SetWindowText(L"");
|
||||||
int historySize = m_History.size();
|
int historySize = m_History.size();
|
||||||
|
|
||||||
// remove duplicate
|
// Remove duplicate
|
||||||
for (int i = 0; i < historySize; i++)
|
for (int i = 0; i < historySize; i++)
|
||||||
{
|
{
|
||||||
if (wcscmp(code, m_History[i]) == 0)
|
if (wcscmp(code, m_History[i]) == 0)
|
||||||
|
@ -525,7 +525,7 @@ LRESULT CEditEval::OnKeyDown(UINT /*uMsg*/, WPARAM wParam, LPARAM /*lParam*/, BO
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// remove oldest if maxed
|
// Remove oldest if maxed
|
||||||
if (historySize >= HISTORY_MAX_ENTRIES)
|
if (historySize >= HISTORY_MAX_ENTRIES)
|
||||||
{
|
{
|
||||||
m_History.erase(m_History.begin() + 0);
|
m_History.erase(m_History.begin() + 0);
|
||||||
|
|
Loading…
Reference in New Issue