summaryrefslogtreecommitdiff
path: root/protocols/Dummy/src
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2014-09-24 12:01:14 +0000
committerRobert Pösel <robyer@seznam.cz>2014-09-24 12:01:14 +0000
commit460530f613eefe29e9204df6838897ccfd4c2d63 (patch)
treedeeb579a0380edc713c85059254d937c0f6481d5 /protocols/Dummy/src
parentf69a195e227235d69538d72e37ee160267edd9f4 (diff)
Dummy: Fix settings for more dummy accounts
git-svn-id: http://svn.miranda-ng.org/main/trunk@10571 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Dummy/src')
-rw-r--r--protocols/Dummy/src/dummy_proto.cpp6
-rw-r--r--protocols/Dummy/src/dummy_proto.h4
2 files changed, 7 insertions, 3 deletions
diff --git a/protocols/Dummy/src/dummy_proto.cpp b/protocols/Dummy/src/dummy_proto.cpp
index 8ac49017eb..2a9ddb1414 100644
--- a/protocols/Dummy/src/dummy_proto.cpp
+++ b/protocols/Dummy/src/dummy_proto.cpp
@@ -17,9 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "stdafx.h"
-char uniqueIdText[100] = { 0 };
-char uniqueIdSetting[100] = { 0 };
-
void CDummyProto::SendMsgAck(void *param)
{
MCONTACT hContact = (MCONTACT)param;
@@ -39,6 +36,9 @@ CDummyProto::CDummyProto(const char *szModuleName, const TCHAR *ptszUserName) :
{
CreateProtoService(PS_CREATEACCMGRUI, &CDummyProto::SvcCreateAccMgrUI);
+ uniqueIdText[0] = '\0';
+ uniqueIdSetting[0] = '\0';
+
dummy_Instances.insert(this);
}
diff --git a/protocols/Dummy/src/dummy_proto.h b/protocols/Dummy/src/dummy_proto.h
index cffccd2f37..70bdcd0b19 100644
--- a/protocols/Dummy/src/dummy_proto.h
+++ b/protocols/Dummy/src/dummy_proto.h
@@ -80,4 +80,8 @@ struct CDummyProto : public PROTO<CDummyProto>
INT_PTR __cdecl SvcCreateAccMgrUI(WPARAM, LPARAM);
void __cdecl SendMsgAck(void *param);
+
+ char uniqueIdText[100];
+ char uniqueIdSetting[100];
+
};