From 70dcb949c6c5d0e0b3428cbe389966b00afe4e31 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 2 Dec 2014 15:17:55 +0000 Subject: fix for tab locations in Scriver & StdChat git-svn-id: http://svn.miranda-ng.org/main/trunk@11216 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/src/chat/log.cpp | 4 ++-- plugins/TabSRMM/src/commonheaders.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/TabSRMM/src') 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 #include @@ -81,6 +80,7 @@ #include #include #include +#include #include #include -- cgit v1.2.3