From 1319f3775c793bdfb8299f5757e7c198d7a61339 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Mon, 27 Apr 2015 07:36:58 +0000 Subject: ConnectionNotify common project git-svn-id: http://svn.miranda-ng.org/main/trunk@13191 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/ConnectionNotify/src/pid2name.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'plugins/ConnectionNotify/src/pid2name.cpp') diff --git a/plugins/ConnectionNotify/src/pid2name.cpp b/plugins/ConnectionNotify/src/pid2name.cpp index 76d7b49441..e30b032bdd 100644 --- a/plugins/ConnectionNotify/src/pid2name.cpp +++ b/plugins/ConnectionNotify/src/pid2name.cpp @@ -1,4 +1,4 @@ -#include "ConnectionNotify.h" +#include "stdafx.h" void pid2name(DWORD procid, TCHAR *buffer, size_t bufLen) { @@ -15,8 +15,7 @@ void pid2name(DWORD procid, TCHAR *buffer, size_t bufLen) _tcsncpy_s(buffer, bufLen, ProcessStruct.szExeFile, _TRUNCATE); break; } - } - while( Process32Next( hSnap, &ProcessStruct )); + } while (Process32Next(hSnap, &ProcessStruct)); - CloseHandle( hSnap ); + CloseHandle(hSnap); } -- cgit v1.2.3