summaryrefslogtreecommitdiff
path: root/src
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 /src
parent57f367fe12acc07ab0404c794795922600ee9c47 (diff)
useless field MIRANDA_IDLE_INFO::cbSize removed
Diffstat (limited to 'src')
-rw-r--r--src/core/stdidle/src/idle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/stdidle/src/idle.cpp b/src/core/stdidle/src/idle.cpp
index dfb2786f56..64974bff02 100644
--- a/src/core/stdidle/src/idle.cpp
+++ b/src/core/stdidle/src/idle.cpp
@@ -116,7 +116,7 @@ void CALLBACK IdleTimer(HWND, UINT, UINT_PTR idEvent, DWORD)
static INT_PTR IdleGetInfo(WPARAM, LPARAM lParam)
{
MIRANDA_IDLE_INFO *mii = (MIRANDA_IDLE_INFO*)lParam;
- if (!mii || mii->cbSize != sizeof(MIRANDA_IDLE_INFO))
+ if (!mii)
return 1;
mii->idleTime = S.iIdleTime1st;