cmGrPlot.c : Fixed apparent but in _cmGrPlotObjIsSelected()

Changed: memset(a,0,sizeof(a))
to:      memset(a,0,sizeof(*a));
This commit is contained in:
kevin 2014-02-01 12:49:05 -08:00
parent 6bb138b1ad
commit 0cccd0392d

View File

@ -187,7 +187,7 @@ void _cmGrPlotObjSetupCbArg( cmGrPlotCbArg_t* a, cmGrPlotObj_t* op, cmGrPlCbSelI
cmGrPlObjH_t oH;
oH.h = op;
memset(a,0,sizeof(a));
memset(a,0,sizeof(*a));
a->ctx = op->p->ctx;
a->cbArg = op->cbArg;
a->selId = selId;