indent
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403382
This commit is contained in:
parent
c553683086
commit
08e0277512
4 changed files with 8 additions and 7 deletions
|
@ -218,7 +218,7 @@ SDL_LoadBMP_RW(SDL_RWops * src, int freesrc)
|
|||
if (biClrUsed == 0) {
|
||||
biClrUsed = 1 << biBitCount;
|
||||
}
|
||||
if ((int)biClrUsed > palette->ncolors) {
|
||||
if ((int) biClrUsed > palette->ncolors) {
|
||||
palette->ncolors = biClrUsed;
|
||||
palette->colors =
|
||||
(SDL_Color *) SDL_realloc(palette->colors,
|
||||
|
@ -229,7 +229,7 @@ SDL_LoadBMP_RW(SDL_RWops * src, int freesrc)
|
|||
was_error = 1;
|
||||
goto done;
|
||||
}
|
||||
} else if ((int)biClrUsed < palette->ncolors) {
|
||||
} else if ((int) biClrUsed < palette->ncolors) {
|
||||
palette->ncolors = biClrUsed;
|
||||
}
|
||||
if (biSize == 12) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue