summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/proto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-06-04 16:53:36 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-06-04 16:58:05 +0300
commit3cab1bee6e943c6e6ed6363120b53c33464f3a04 (patch)
tree98b9241b08a83e0798a4dcf9609dcd59f80da2ac /protocols/FacebookRM/src/proto.cpp
parentceef3ded6c011efb559b8c155084fb717d9bdc2a (diff)
fixes #1954 (Facebook notifications issue)
Diffstat (limited to 'protocols/FacebookRM/src/proto.cpp')
-rw-r--r--protocols/FacebookRM/src/proto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/proto.cpp b/protocols/FacebookRM/src/proto.cpp
index e99dc8b895..916614a34f 100644
--- a/protocols/FacebookRM/src/proto.cpp
+++ b/protocols/FacebookRM/src/proto.cpp
@@ -28,7 +28,7 @@ FacebookProto::FacebookProto(const char* proto_name, const wchar_t* username) :
{
facy.parent = this;
- update_loop_event = CreateEvent(nullptr, FALSE, FALSE, nullptr);
+ update_loop_event = CreateEventW(nullptr, FALSE, FALSE, nullptr);
// Initialize random seed for this client
facy.random_ = ::time(0) + PtrToUint(&facy);