(svn r3512) Yet more whitespace fixes (mostly by Rubidium)

This commit is contained in:
peter1138 2006-02-01 09:08:25 +00:00
parent 84fb96fe85
commit 80952253c2
5 changed files with 26 additions and 27 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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