Merge pull request #2012 from ChillerDragon/pr_func_style

Style 'void foo() {' -> 'void foo()\n{'
This commit is contained in:
Dennis Felsing 2019-12-21 18:18:49 +01:00 committed by GitHub
commit 83f2fc2669
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 3 deletions

View file

@ -1647,7 +1647,8 @@ void CGraphics_Threaded::RenderQuadContainerAsSpriteMultiple(int ContainerIndex,
}
}
void* CGraphics_Threaded::AllocCommandBufferData(unsigned AllocSize) {
void* CGraphics_Threaded::AllocCommandBufferData(unsigned AllocSize)
{
void* pData = m_pCommandBuffer->AllocData(AllocSize);
if(pData == 0x0)
{

View file

@ -960,7 +960,8 @@ int CLayerTiles::RenderProperties(CUIRect *pToolBox)
return 0;
}
void CLayerTiles::FlagModified(int x, int y, int w, int h) {
void CLayerTiles::FlagModified(int x, int y, int w, int h)
{
m_pEditor->m_Map.m_Modified = true;
if (m_Seed != 0 && m_AutoMapperConfig != -1 && m_AutoAutoMap) {
m_pEditor->m_Map.m_lImages[m_Image]->m_AutoMapper.ProceedLocalized(this, m_AutoMapperConfig, m_Seed, x, y, w, h);

View file

@ -3490,7 +3490,8 @@ void CGameContext::List(int ClientID, const char *pFilter)
SendChatTarget(ClientID, aBuf);
}
int CGameContext::GetClientVersion(int ClientID) {
int CGameContext::GetClientVersion(int ClientID)
{
return m_apPlayers[ClientID]
? m_apPlayers[ClientID]->m_ClientVersion
: 0;