diff options
Diffstat (limited to 'plugins/BasicHistory/src/ImageDataObject.cpp')
-rw-r--r-- | plugins/BasicHistory/src/ImageDataObject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/BasicHistory/src/ImageDataObject.cpp b/plugins/BasicHistory/src/ImageDataObject.cpp index 15cb67f6ce..8e6c1b9b55 100644 --- a/plugins/BasicHistory/src/ImageDataObject.cpp +++ b/plugins/BasicHistory/src/ImageDataObject.cpp @@ -104,7 +104,7 @@ bool ImageDataObject::InsertBitmap(IRichEditOle* pRichEditOle, HBITMAP hBitmap) // Now Add the object to the RichEdit
//
REOBJECT reobject;
- ZeroMemory(&reobject, sizeof(REOBJECT));
+ memset(&reobject, 0, sizeof(REOBJECT));
reobject.cbStruct = sizeof(REOBJECT);
CLSID clsid;
|