1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 04:20:27 +01:00

Added the last missing 'const' attributes to function parameters

This commit is contained in:
Christophe CURIS
2013-05-01 20:26:35 +02:00
committed by Carlos R. Mafra
parent 0bf6297a32
commit 9e4253f670
5 changed files with 11 additions and 11 deletions

View File

@@ -529,7 +529,7 @@ RCombineAreaWithOpaqueness(RImage * image, RImage * src, int sx, int sy,
#undef COP
}
void RCombineImageWithColor(RImage * image, RColor * color)
void RCombineImageWithColor(RImage * image, const RColor * color)
{
register int i;
unsigned char *d;
@@ -602,7 +602,7 @@ RImage *RMakeTiledImage(RImage * tile, unsigned width, unsigned height)
return image;
}
RImage *RMakeCenteredImage(RImage * image, unsigned width, unsigned height, RColor * color)
RImage *RMakeCenteredImage(RImage * image, unsigned width, unsigned height, const RColor * color)
{
int x, y, w, h, sx, sy;
RImage *tmp;