1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 01:48:00 +00:00

Patch from Robert de Bath: increase timer resolution.

[originally from svn r807]
This commit is contained in:
Simon Tatham 2000-11-21 19:00:32 +00:00
parent 7a3c5f57b5
commit f7aec0aa10

View File

@ -592,7 +592,7 @@ int WINAPI WinMain(HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, int show) {
if (!has_focus)
timer_id = SetTimer(hwnd, 1, 59500, NULL);
else
timer_id = SetTimer(hwnd, 1, 250, NULL);
timer_id = SetTimer(hwnd, 1, 100, NULL);
long_timer = 1;
/* There's no point rescanning everything in the message queue