commit | 4d1d359c2bc0a6c57728653bd8484dd59ed92f57 | [log] [tgz] |
---|---|---|
author | Martin Walker <mwalker@caci.co.uk> | Fri Feb 19 16:50:24 1999 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Fri Feb 19 16:50:24 1999 +0000 |
tree | d0dab470f47a9987c8e8f5b394f8304a0a98e1ff | |
parent | 3426d85319d4a3ea42f04604d9ca4b06225ee667 [diff] [blame] |
Fixed message filtering check.
diff --git a/windows/queue.c b/windows/queue.c index d3f30f3..988016a 100644 --- a/windows/queue.c +++ b/windows/queue.c
@@ -1050,7 +1050,7 @@ if (!first && !last) break; /* found it */ - if ((msg->message >= first) && (msg->message <= last)) + if ((msg->message >= first) && (!last || (msg->message <= last))) break; /* found it */ } }