summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/captcha.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2015-06-25 19:08:15 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2015-06-25 19:08:15 +0000
commitc5de45b42456d1ed5250e477e70d9ea4001f4441 (patch)
treef328e4999ddd3fe46c77ce3ee52b7e177067806c /protocols/FacebookRM/src/captcha.cpp
parentc3635f352a1a7a3afe65fe74e3f0fdefdb72e6ae (diff)
- Set wparam and lParam to 0 as default arg in CallService and others, to simplify some code
git-svn-id: http://svn.miranda-ng.org/main/trunk@14384 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/captcha.cpp')
-rw-r--r--protocols/FacebookRM/src/captcha.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/captcha.cpp b/protocols/FacebookRM/src/captcha.cpp
index 98cc51bd1e..3d19823b03 100644
--- a/protocols/FacebookRM/src/captcha.cpp
+++ b/protocols/FacebookRM/src/captcha.cpp
@@ -128,7 +128,7 @@ bool FacebookProto::RunCaptchaForm(std::string captchaUrl, std::string &result)
memio.iLen = reply->dataLength;
memio.pBuf = reply->pData;
memio.fif = FIF_UNKNOWN; /* detect */
- param.bmp = (HBITMAP)CallService(MS_IMG_LOADFROMMEM, (WPARAM)&memio, 0);
+ param.bmp = (HBITMAP)CallService(MS_IMG_LOADFROMMEM, (WPARAM)&memio);
BITMAP bmp = { 0 };
GetObject(param.bmp, sizeof(bmp), &bmp);