From fdf7e2c0ebe4cb89753f293fca52a4311a4c6d53 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 11 Dec 2017 20:26:32 +0300 Subject: useless field MIRANDA_IDLE_INFO::cbSize removed --- include/m_idle.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include') diff --git a/include/m_idle.h b/include/m_idle.h index 203228e030..635fb7a643 100644 --- a/include/m_idle.h +++ b/include/m_idle.h @@ -61,7 +61,6 @@ for short idle.*/ struct MIRANDA_IDLE_INFO { - int cbSize; // sizeof() int idleTime; // idle in mins, if zero then disabled int privacy; // user doesnt want other people seeing anything more than they are idle int aaStatus; // status to go to when user is auto away @@ -74,7 +73,6 @@ struct MIRANDA_IDLE_INFO __forceinline int Idle_GetInfo(MIRANDA_IDLE_INFO &pInfo) { - pInfo.cbSize = sizeof(MIRANDA_IDLE_INFO); return CallService(MS_IDLE_GETIDLEINFO, 0, (LPARAM)&pInfo); } -- cgit v1.2.3