mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r3512) Yet more whitespace fixes (mostly by Rubidium)
This commit is contained in:
parent
84fb96fe85
commit
80952253c2
|
@ -105,10 +105,8 @@ void DisplaySplashImage(void)
|
|||
|
||||
memset(_screen.dst_ptr, 0xff, _screen.pitch * _screen.height);
|
||||
|
||||
if(width > (uint) _screen.width)
|
||||
width = _screen.width;
|
||||
if(height > (uint) _screen.height)
|
||||
height = _screen.height;
|
||||
if (width > (uint) _screen.width) width = _screen.width;
|
||||
if (height > (uint) _screen.height) height = _screen.height;
|
||||
|
||||
xoff = (_screen.width - width) / 2;
|
||||
yoff = (_screen.height - height) / 2;
|
||||
|
|
|
@ -130,10 +130,11 @@ static IniGroup *ini_group_alloc(IniFile *ini, const char *grpt, int len)
|
|||
IniGroup *grp = pool_alloc(&ini->pool, sizeof(IniGroup));
|
||||
grp->ini = ini;
|
||||
grp->name = pool_strdup(&ini->pool, grpt, len);
|
||||
if(!strcmp(grp->name, "newgrf") || !strcmp(grp->name, "servers") || !strcmp(grp->name, "bans") )
|
||||
if (!strcmp(grp->name, "newgrf") || !strcmp(grp->name, "servers") || !strcmp(grp->name, "bans")) {
|
||||
grp->type = IGT_LIST;
|
||||
else
|
||||
} else {
|
||||
grp->type = IGT_VARIABLES;
|
||||
}
|
||||
grp->next = NULL;
|
||||
grp->item = NULL;
|
||||
grp->comment = NULL;
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
/* $Id$ */
|
||||
|
||||
/******************************************************************************************
|
||||
/*****************************************************************************
|
||||
* Cocoa sound driver *
|
||||
* Known things left to do: *
|
||||
* - Might need to do endian checking for it to work on both ppc and x86 *
|
||||
******************************************************************************************/
|
||||
*****************************************************************************/
|
||||
|
||||
#ifdef WITH_COCOA
|
||||
|
||||
|
|
Loading…
Reference in New Issue