use memory copy from std

This commit is contained in:
henrypp committed 2019-09-20 16:57:49 +06:00
1 parent 62ba09bb88
commit a588fd04fb
1 file changed
+1 -1
+1 -1
View File
@@ -2262,7 +2262,7 @@ bool _app_item_get (EnumDataType type, size_t app_hash, rstring* display_name, r
{
*lpdata = new BYTE[length];
CopyMemory (*lpdata, ptr_app_item->pdata, length);
memcpy (*lpdata, ptr_app_item->pdata, length);
}
}
}