From a7e413f32887db2e18c59bce9c06c4661867ba3f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 18 Mar 2014 20:08:00 +0000 Subject: fix for the icons corruption in clist git-svn-id: http://svn.miranda-ng.org/main/trunk@8653 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/NewXstatusNotify/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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); } } -- cgit v1.2.3