rand_win.c: fix time limit logic.