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 https://bugs.freedesktop.org/show_bug.cgi?id=92154Reviewed-by: Alan Coopersmith's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Alan Coopersmith's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
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