diff options
author | George Hazan <george.hazan@gmail.com> | 2014-03-18 20:08:00 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-03-18 20:08:00 +0000 |
commit | a7e413f32887db2e18c59bce9c06c4661867ba3f (patch) | |
tree | 37a71500c145e4a7c85a365d85372261c693c72d /plugins | |
parent | 806c7235a85177c0582a6b3c0f7ce395ffbaec20 (diff) |
fix for the icons corruption in clist
git-svn-id: http://svn.miranda-ng.org/main/trunk@8653 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/NewXstatusNotify/src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NewXstatusNotify/src/main.cpp b/plugins/NewXstatusNotify/src/main.cpp index 0896ac52bc..971189eae3 100644 --- a/plugins/NewXstatusNotify/src/main.cpp +++ b/plugins/NewXstatusNotify/src/main.cpp @@ -776,7 +776,7 @@ int ContactStatusChanged(MCONTACT hContact, WORD oldStatus,WORD newStatus) // to avoid notifying when meta went offline but default contact's proto still online
DBVARIANT dbv;
if (!db_get_s(hContact, szProto, "LastOnline", &dbv)) {
- strcpy(szSubProto, dbv.pszVal);
+ szSubProto = NEWSTR_ALLOCA(dbv.pszVal);
db_free(&dbv);
}
}
|