Mercurial > hg > dmlib
diff tools/libgfx.c @ 2202:455a3849b8ac
Comments and cosmetics.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 14 Jun 2019 01:56:47 +0300 |
parents | 9a9493809b3a |
children | 1ea48084055e |
line wrap: on
line diff
--- a/tools/libgfx.c Fri Jun 14 00:42:36 2019 +0300 +++ b/tools/libgfx.c Fri Jun 14 01:56:47 2019 +0300 @@ -275,7 +275,7 @@ } -static int dmPaletteReadData(DMResource *fp, DMPalette *pal, int ncolors) +static int dmPaletteReadData(DMResource *fp, DMPalette *pal, const int ncolors) { if (pal->ncolors < ncolors) return DMERR_INVALID_ARGS; @@ -297,7 +297,8 @@ } -static int dmPaletteWriteData(DMResource *fp, const DMPalette *pal, const int ncolors, const int npad) +static int dmPaletteWriteData(DMResource *fp, const DMPalette *pal, + const int ncolors, const int npad) { int i;