cmGrPlot.c : Fixed apparent but in _cmGrPlotObjIsSelected()
Changed: memset(a,0,sizeof(a)) to: memset(a,0,sizeof(*a));
This commit is contained in:
parent
6bb138b1ad
commit
0cccd0392d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user