summaryrefslogtreecommitdiff
path: root/windows
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-06-26 18:56:42 +0100
committerVincent Sanders <vince@kyllikki.org>2014-06-26 19:05:59 +0100
commit8944edd649e74e4864f36d7293921385ba5ca2c7 (patch)
tree1a901e8323944bcee35b972328812ed559b87950 /windows
parent1b7aa7ffe53843f072e3de5e28bdf06faa7980b9 (diff)
downloadnetsurf-8944edd649e74e4864f36d7293921385ba5ca2c7.tar.gz
netsurf-8944edd649e74e4864f36d7293921385ba5ca2c7.tar.bz2
convert all frontends to scheduled fetch operation
Diffstat (limited to 'windows')
-rw-r--r--windows/gui.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/windows/gui.c b/windows/gui.c
index 21eff0ef4..824abade7 100644
--- a/windows/gui.c
+++ b/windows/gui.c
@@ -107,10 +107,6 @@ static void win32_poll(bool active)
/* run the scheduler and discover how long to wait for the next event */
timeout = schedule_run();
- /* if active set timeout so message is not waited for */
- if (active)
- timeout = 0;
-
if (timeout == 0) {
bRet = PeekMessage(&Msg, NULL, 0, 0, PM_REMOVE);
} else {
@@ -128,7 +124,6 @@ static void win32_poll(bool active)
}
}
-
if (bRet > 0) {
TranslateMessage(&Msg);
DispatchMessage(&Msg);