From 038a1881e9d3b541b13439ce41fb91f12f953bfe Mon Sep 17 00:00:00 2001 From: watcher Date: Fri, 2 Dec 2016 23:04:11 +0200 Subject: Compilation fix --- plugins/MirLua/Modules/m_schedule/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/MirLua/Modules/m_schedule/src/main.cpp b/plugins/MirLua/Modules/m_schedule/src/main.cpp index 61fa6a0a97..52ff7788b0 100644 --- a/plugins/MirLua/Modules/m_schedule/src/main.cpp +++ b/plugins/MirLua/Modules/m_schedule/src/main.cpp @@ -68,7 +68,7 @@ wait: WaitForSingleObject(hScheduleEvent, waitTime); while (ScheduleTask *task = tasks[0]) { - if (Miranda_Terminated()) + if (Miranda_IsTerminated()) return; mir_cslock lock(threadLock); -- cgit v1.2.3