mirror of
https://github.com/henrypp/simplewall.git
synced 2026-10-22 02:52:54 -05:00
use memory copy from std
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user