summaryrefslogtreecommitdiff
path: root/src/core/stdidle/idle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/stdidle/idle.cpp')
-rw-r--r--src/core/stdidle/idle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/stdidle/idle.cpp b/src/core/stdidle/idle.cpp
index 92a53a5deb..2a6429a578 100644
--- a/src/core/stdidle/idle.cpp
+++ b/src/core/stdidle/idle.cpp
@@ -165,7 +165,7 @@ static void IdleObject_ReadSettings(IdleObject * obj)
static void IdleObject_Create(IdleObject * obj)
{
- ZeroMemory(obj, sizeof(IdleObject));
+ memset(obj, 0, sizeof(IdleObject));
obj->hTimer = SetTimer(NULL, 0, 2000, IdleTimer);
IdleObject_ReadSettings(obj);
}