diff options
Diffstat (limited to 'plugins/DbEditorPP/src/main.cpp')
-rw-r--r-- | plugins/DbEditorPP/src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/DbEditorPP/src/main.cpp b/plugins/DbEditorPP/src/main.cpp index 02aec62fca..96f7c71493 100644 --- a/plugins/DbEditorPP/src/main.cpp +++ b/plugins/DbEditorPP/src/main.cpp @@ -180,7 +180,7 @@ int ModulesLoaded(WPARAM wParam, LPARAM lParam) DBVARIANT dbv;
if (!db_get(NULL, "Contact", "NameOrder", &dbv)) {
- CopyMemory(nameOrder, dbv.pbVal, dbv.cpbVal);
+ memcpy(nameOrder, dbv.pbVal, dbv.cpbVal);
db_free(&dbv);
}
|