diff options
Diffstat (limited to 'src/modules/clist/contacts.cpp')
-rw-r--r-- | src/modules/clist/contacts.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/clist/contacts.cpp b/src/modules/clist/contacts.cpp index b07aa7e921..4ebe10d121 100644 --- a/src/modules/clist/contacts.cpp +++ b/src/modules/clist/contacts.cpp @@ -516,7 +516,7 @@ int LoadContactsModule(void) DBVARIANT dbv;
if (!db_get(NULL, "Contact", "NameOrder", &dbv)) {
- CopyMemory(nameOrder, dbv.pbVal, dbv.cpbVal);
+ memcpy(nameOrder, dbv.pbVal, dbv.cpbVal);
db_free(&dbv);
}
|