X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=lib%2Fstat.c;h=e5a340e704ea05c802c59965214dd982c48fea76;hb=17cd5711411f45df26b33c51288780627b7377e2;hp=b5c0c6ed84a55cf95efb8de9dccb97989af1362b;hpb=16204dfc7715783c2ebdfb55fc44fb9344613a76;p=ap-utils.git diff --git a/lib/stat.c b/lib/stat.c index b5c0c6e..e5a340e 100644 --- a/lib/stat.c +++ b/lib/stat.c @@ -31,7 +31,7 @@ extern WINDOW *main_sub; extern short ap_type; -extern int wait_mode; +extern int wait_mode, poll_delay; void EthStat() { @@ -181,7 +181,7 @@ void EthStat() mvwaddstr(main_sub, 18, 2, message); wrefresh(main_sub); - i = wait_key(); + i = wait_key(poll_delay); if (i == -1) goto quit; @@ -350,7 +350,7 @@ void WirelessStat() } wrefresh(main_sub); - i = wait_key(); + i = wait_key(poll_delay); if (i == -1) goto quit; @@ -510,7 +510,7 @@ void nwn_wireless_stat() mvwaddstr(main_sub, 10, 1, message); wrefresh(main_sub); - i = wait_key(); + i = wait_key(poll_delay); if (i == -1) goto quit;