mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-15 08:47:36 +00:00
clang-format
This commit is contained in:
parent
7ee594b3bd
commit
dfdc780173
@ -531,7 +531,8 @@ void IsleApp::LoadConfig()
|
||||
iniConfig = new char[strlen(prefPath) + strlen("isle.ini") + 1]();
|
||||
strcat(iniConfig, prefPath);
|
||||
strcat(iniConfig, "isle.ini");
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
iniConfig = new char[strlen("isle.ini") + 1];
|
||||
strcpy(iniConfig, "isle.ini");
|
||||
}
|
||||
|
||||
@ -184,7 +184,9 @@ MxLong RegistrationBook::HandleKeyPress(SDL_Keycode p_key)
|
||||
m_name[0][m_unk0x280.m_cursorPos] = m_alphabet[key - 'A']->Clone();
|
||||
|
||||
if (m_name[0][m_unk0x280.m_cursorPos] != NULL) {
|
||||
m_alphabet[key - SDLK_A]->GetAction()->SetUnknown24(m_alphabet[key - SDLK_A]->GetAction()->GetUnknown24() + 1);
|
||||
m_alphabet[key - SDLK_A]->GetAction()->SetUnknown24(
|
||||
m_alphabet[key - SDLK_A]->GetAction()->GetUnknown24() + 1
|
||||
);
|
||||
m_name[0][m_unk0x280.m_cursorPos]->Enable(TRUE);
|
||||
m_name[0][m_unk0x280.m_cursorPos]->SetTickleState(MxPresenter::e_repeating);
|
||||
m_name[0][m_unk0x280.m_cursorPos]->SetPosition(m_unk0x280.m_cursorPos * 23 + 343, 121);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user