cmGrPlotAudio.c : The audio plot object no longer uses the underlying
graphic objects 'user' pointer. This was a bug because the user of the audio object itself might use this pointer thereby overwrite the pointer set internally by the audio object.
This commit is contained in:
parent
a112c6b6a2
commit
a4a2b601a9
@ -178,7 +178,7 @@ cmGrPlRC_t cmGrPlotAudioFileObjCreate(
|
|||||||
op->isInsideCbArg = cmGrObjIsInsideCbArg(grObjH);
|
op->isInsideCbArg = cmGrObjIsInsideCbArg(grObjH);
|
||||||
cmGrObjSetIsInsideCb( grObjH, _cmGrPlObjAfIsInside, op );
|
cmGrObjSetIsInsideCb( grObjH, _cmGrPlObjAfIsInside, op );
|
||||||
|
|
||||||
cmGrPlotObjSetUserPtr(oH,op);
|
//cmGrPlotObjSetUserPtr(oH,op);
|
||||||
|
|
||||||
return kOkGrPlRC;
|
return kOkGrPlRC;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user