mirror of
https://github.com/gryf/wmaker.git
synced 2026-04-27 19:23:31 +02:00
Added 'const' attribute on non-modified arguments for color handling functions
These functions have both an input and an output color, marked the input color as const to help distinguish.
This commit is contained in:
committed by
Carlos R. Mafra
parent
8f7d4b7751
commit
0bf6297a32
+1
-1
@@ -921,7 +921,7 @@ int RConvertImageMask(RContext * context, RImage * image, Pixmap * pixmap, Pixma
|
||||
return True;
|
||||
}
|
||||
|
||||
Bool RGetClosestXColor(RContext * context, RColor * color, XColor * retColor)
|
||||
Bool RGetClosestXColor(RContext * context, const RColor * color, XColor * retColor)
|
||||
{
|
||||
if (context->vclass == TrueColor) {
|
||||
unsigned short rmask, gmask, bmask;
|
||||
|
||||
Reference in New Issue
Block a user