diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2015-06-25 19:08:15 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2015-06-25 19:08:15 +0000 |
commit | c5de45b42456d1ed5250e477e70d9ea4001f4441 (patch) | |
tree | f328e4999ddd3fe46c77ce3ee52b7e177067806c /protocols/FacebookRM/src/captcha.cpp | |
parent | c3635f352a1a7a3afe65fe74e3f0fdefdb72e6ae (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.cpp | 2 |
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); |