projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Patch from Robert de Bath: increase timer resolution.
[u/mdw/putty]
/
window.c
diff --git
a/window.c
b/window.c
index
ea898e9
..
9f8eb98
100644
(file)
--- a/
window.c
+++ b/
window.c
@@
-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,
25
0, NULL);
+ timer_id = SetTimer(hwnd, 1,
10
0, NULL);
long_timer = 1;
/* There's no point rescanning everything in the message queue