diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-04-06 06:08:45 -0400 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-04-06 06:08:59 -0400 |
| commit | a17902373dc3fd2f06f0796ed2621109cb4acdd3 (patch) | |
| tree | 7c2bac0d8fca91b1916e72a79fef5a3b3520c6ad /src/cmd.c | |
| parent | e00d109f7997ea3c238677a28271ced8fa8f9d4e (diff) | |
| download | fujinet-chat-a17902373dc3fd2f06f0796ed2621109cb4acdd3.tar.gz | |
Precalculate timer intervals (in config segment; client gets them preset). 6780 bytes free.
Diffstat (limited to 'src/cmd.c')
| -rw-r--r-- | src/cmd.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -8,6 +8,7 @@ #include "edbox.h" #include "config.h" #include "streq.h" +#include "timers.h" /* A "command" is actually anything the user types, whether or not it starts with a / character. */ @@ -173,7 +174,7 @@ static void do_quit(void) { static void pause(void) { OS.rtclok[2] = 0; - while(OS.rtclok[2] < hz) + while(OS.rtclok[2] < timers.hz) /* NOP */; } |
