summaryrefslogtreecommitdiff
path: root/src/mir_core
diff options
context:
space:
mode:
Diffstat (limited to 'src/mir_core')
-rw-r--r--src/mir_core/logger.cpp2
-rw-r--r--src/mir_core/miranda.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mir_core/logger.cpp b/src/mir_core/logger.cpp
index 4d3781b6bd..7cdc3c600e 100644
--- a/src/mir_core/logger.cpp
+++ b/src/mir_core/logger.cpp
@@ -69,7 +69,7 @@ void InitLogs()
{
LARGE_INTEGER li;
QueryPerformanceFrequency(&li);
- llIdlePeriod = li.QuadPart * 10; // 10 seconds interval
+ llIdlePeriod = li.QuadPart;
}
void UninitLogs()
diff --git a/src/mir_core/miranda.cpp b/src/mir_core/miranda.cpp
index 9ee5ed2b1a..c82971d918 100644
--- a/src/mir_core/miranda.cpp
+++ b/src/mir_core/miranda.cpp
@@ -76,7 +76,7 @@ static void LoadCoreModule(void)
hAPCWindow = CreateWindowEx(0, _T("STATIC"), NULL, 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL);
SetWindowLongPtr(hAPCWindow, GWLP_WNDPROC, (LONG_PTR)APCWndProc);
- SetTimer(hAPCWindow, 1, 60*1000, NULL);
+ SetTimer(hAPCWindow, 1, 1000, NULL);
hStackMutex = CreateMutex(NULL, FALSE, NULL);
hThreadQueueEmpty = CreateEvent(NULL, TRUE, TRUE, NULL);