mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
remove whitespace
This commit is contained in:
parent
5e923adcc9
commit
8957ae99bd
|
@ -432,7 +432,7 @@ void CEditor::HandleMapDrop(const char *pFileName, int StorageType)
|
|||
}
|
||||
|
||||
void CEditorMap::HandleMapDrop(const char *pFileName, int StorageType)
|
||||
{
|
||||
{
|
||||
if(m_pEditor->HasUnsavedData())
|
||||
{
|
||||
str_copy(m_pEditor->m_aFileNamePending, pFileName);
|
||||
|
|
|
@ -1822,12 +1822,12 @@ CUI::EPopupMenuFunctionResult CEditor::PopupEvent(void *pContext, CUIRect View,
|
|||
pEditor->LoadCurrentMap();
|
||||
}
|
||||
else if(pEditor->m_PopupEventType == POPEVENT_LOADDROP)
|
||||
{
|
||||
{
|
||||
int Result = pEditor->Load(pEditor->m_aFileNamePending, IStorage::TYPE_ALL_OR_ABSOLUTE);
|
||||
if(!Result)
|
||||
dbg_msg("editor", "editing passed map file '%s' failed", pEditor->m_aFileNamePending);
|
||||
pEditor->m_aFileNamePending[0] = 0;
|
||||
}
|
||||
}
|
||||
else if(pEditor->m_PopupEventType == POPEVENT_NEW)
|
||||
{
|
||||
pEditor->Reset();
|
||||
|
|
Loading…
Reference in a new issue