X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=timing.c;h=ccd76cd66d88f7f4916500ceac9de43c0aa5021a;hb=2eb952ca31aa13d1f6f429305fbb6f43a9a28c56;hp=11a0305000b94ba753f31a8afee75445172c1a43;hpb=d5836982e23d8a6176114e1073469950c4eaae37;p=PuTTY.git diff --git a/timing.c b/timing.c index 11a03050..ccd76cd6 100644 --- a/timing.c +++ b/timing.c @@ -174,8 +174,8 @@ int run_timers(unsigned long anow, unsigned long *next) */ delpos234(timers, 0); sfree(first); - } else if (now - first->when_set - 10 > - first->now - first->when_set - 10) { + } else if (now - (first->when_set - 10) > + first->now - (first->when_set - 10)) { /* * This timer is active and has reached its running * time. Run it.