diff options
Diffstat (limited to 'protocols')
| -rw-r--r-- | protocols/VKontakte/src/misc.cpp | 2 | ||||
| -rw-r--r-- | protocols/VKontakte/src/stdafx.h | 8 | 
2 files changed, 1 insertions, 9 deletions
| diff --git a/protocols/VKontakte/src/misc.cpp b/protocols/VKontakte/src/misc.cpp index d22fa90ad8..5d9edd9364 100644 --- a/protocols/VKontakte/src/misc.cpp +++ b/protocols/VKontakte/src/misc.cpp @@ -1298,7 +1298,7 @@ void CVkProto::ShowCaptchaInBrowser(HBITMAP hBitmap)  	fii->FI_AcquireMemory(hMem, &buf, &bufLen);
  	ptrA base64(mir_base64_encode(buf, bufLen));
  	fii->FI_CloseMemory(hMem);
 -
 +	fii->FI_Unload(dib);
  	CMStringA szHTML(FORMAT, "<html><body><img src=\"data:image/png;base64,%s\" /></body></html>", base64);
  	fwrite(szHTML, 1, szHTML.GetLength(), pFile);
 diff --git a/protocols/VKontakte/src/stdafx.h b/protocols/VKontakte/src/stdafx.h index 651856837f..8495a2dbd0 100644 --- a/protocols/VKontakte/src/stdafx.h +++ b/protocols/VKontakte/src/stdafx.h @@ -18,8 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.  #pragma once
  #include <Windows.h>
 -#include <Shlwapi.h>
 -#include <Wincrypt.h>
  #include <stdio.h>
  #include <malloc.h>
 @@ -35,13 +33,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.  #include <m_chat.h>
  #include <m_clist.h>
  #include <m_database.h>
 -#include <m_extraicons.h>
  #include <m_file.h>
 -#include <m_fontservice.h>
  #include <m_genmenu.h>
 -#include <m_hotkeys.h>
  #include <m_icolib.h>
 -#include <m_idle.h>
  #include <m_imgsrvc.h>
  #include <m_string.h>
  #include <m_json.h>
 @@ -53,9 +47,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.  #include <m_protoint.h>
  #include <m_skin.h>
  #include <m_timezones.h>
 -#include <m_toptoolbar.h>
  #include <m_userinfo.h>
 -#include <m_utils.h>
  #include <m_proto_listeningto.h>
  #include <m_messagestate.h>
 | 
