Commit d0416863 authored by Bhavi Dhingra's avatar Bhavi Dhingra Committed by Alan Coopersmith

XcmsLookupColor: fully initialize XColor structs passed to _XColor_to_XcmsRGB

Fixes #44
aka Alan Coopersmith's avatarAlan Coopersmith <>
Signed-off-by: Alan Coopersmith's avatarAlan Coopersmith <>
parent 733f64bf
......@@ -76,7 +76,8 @@ XcmsLookupColor (
register int n;
xLookupColorReply reply;
register xLookupColorReq *req;
XColor def, scr;
XColor def = {0,};
XColor scr = {0,};
* 0. Check for invalid arguments.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment