summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-12-02 15:17:55 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-12-02 15:17:55 +0000
commit70dcb949c6c5d0e0b3428cbe389966b00afe4e31 (patch)
treeca61ea57e48e076e21ae853e81dd3a90c4b22fd9 /plugins/TabSRMM/src
parentd8b72cf2b8ab77898b0411c1046e788d7bc7bfa9 (diff)
fix for tab locations in Scriver & StdChat
git-svn-id: http://svn.miranda-ng.org/main/trunk@11216 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src')
-rw-r--r--plugins/TabSRMM/src/chat/log.cpp4
-rw-r--r--plugins/TabSRMM/src/commonheaders.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/TabSRMM/src/chat/log.cpp b/plugins/TabSRMM/src/chat/log.cpp
index cee377f6ca..233cdedbb7 100644
--- a/plugins/TabSRMM/src/chat/log.cpp
+++ b/plugins/TabSRMM/src/chat/log.cpp
@@ -727,7 +727,7 @@ char* Log_CreateRtfHeader(MODULEINFO *mi)
buffer[0] = '\0';
- //get the number of pixels per logical inch
+ // get the number of pixels per logical inch
if (pci->logPixelSY == 0) {
HDC hdc = GetDC(NULL);
pci->logPixelSY = GetDeviceCaps(hdc, LOGPIXELSY);
@@ -935,7 +935,7 @@ static char* Log_CreateRTF(LOGSTREAMDATA *streamData)
static DWORD CALLBACK Log_StreamCallback(DWORD_PTR dwCookie, LPBYTE pbBuff, LONG cb, LONG * pcb)
{
- LOGSTREAMDATA *lstrdat = (LOGSTREAMDATA *) dwCookie;
+ LOGSTREAMDATA *lstrdat = (LOGSTREAMDATA*)dwCookie;
if (lstrdat) {
// create the RTF
diff --git a/plugins/TabSRMM/src/commonheaders.h b/plugins/TabSRMM/src/commonheaders.h
index 63054b92af..9992d5608c 100644
--- a/plugins/TabSRMM/src/commonheaders.h
+++ b/plugins/TabSRMM/src/commonheaders.h
@@ -32,7 +32,6 @@
#define WINVER 0x0600
#define _WIN32_WINNT 0x0600
#define _WIN32_IE 0x0501
-#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <commdlg.h>
@@ -81,6 +80,7 @@
#include <m_toptoolbar.h>
#include <m_string.h>
#include <m_db_int.h>
+#include <m_netlib.h>
#include <m_ieview.h>
#include <m_metacontacts.h>