summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-03-18 20:08:00 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-03-18 20:08:00 +0000
commita7e413f32887db2e18c59bce9c06c4661867ba3f (patch)
tree37a71500c145e4a7c85a365d85372261c693c72d /plugins
parent806c7235a85177c0582a6b3c0f7ce395ffbaec20 (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.cpp2
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);
}
}