diff options
Diffstat (limited to 'libX11/src/SetRGBCMap.c')
-rw-r--r-- | libX11/src/SetRGBCMap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libX11/src/SetRGBCMap.c b/libX11/src/SetRGBCMap.c index d9eda5346..f96a1955d 100644 --- a/libX11/src/SetRGBCMap.c +++ b/libX11/src/SetRGBCMap.c @@ -49,7 +49,7 @@ void XSetRGBColormaps ( xPropStandardColormap *data, tmpdata; /* scratch data */ int mode = PropModeReplace; /* for partial writes */ Bool alloced_scratch_space; /* do we need to free? */ - + if (count < 1) return; |