diff options
author | Vincent Sanders <vince@kyllikki.org> | 2014-07-01 09:03:47 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2014-07-01 09:03:47 +0100 |
commit | 233050353385b6917d6a5369914d1e6186701fe7 (patch) | |
tree | 3b2c4dcd6c9284e39c69ad5c19279b07cf0efc57 /windows | |
parent | 01088bb63b1ab1ff7453c199a1c875483b1e5084 (diff) | |
parent | 8944edd649e74e4864f36d7293921385ba5ca2c7 (diff) | |
download | netsurf-233050353385b6917d6a5369914d1e6186701fe7.tar.gz netsurf-233050353385b6917d6a5369914d1e6186701fe7.tar.bz2 |
Merge branch 'vince/fetchschedule'
Diffstat (limited to 'windows')
-rw-r--r-- | windows/gui.c | 5 |
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); |