summaryrefslogtreecommitdiff
path: root/include/m_idle.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-12-11 20:26:32 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-12-11 20:26:32 +0300
commitfdf7e2c0ebe4cb89753f293fca52a4311a4c6d53 (patch)
tree74bd528b1f5e756db7dc1e634bb381dec687ada9 /include/m_idle.h
parent57f367fe12acc07ab0404c794795922600ee9c47 (diff)
useless field MIRANDA_IDLE_INFO::cbSize removed
Diffstat (limited to 'include/m_idle.h')
-rw-r--r--include/m_idle.h2
1 files changed, 0 insertions, 2 deletions
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);
}