From 42af2e52e771dd7bf8be6fd1119520d492bb4b3f Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Fri, 22 Feb 2019 19:37:24 -0800 Subject: Bumper typo cleanup. Inspired by some of the small patches that have gone by recently. Limited to only things found in `generated/help.h`, plus a wider cleanup for the more common "milisecond" typo. --- lib/lib.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/lib.h') diff --git a/lib/lib.h b/lib/lib.h index b36d7a75..bdabd4a2 100644 --- a/lib/lib.h +++ b/lib/lib.h @@ -204,7 +204,7 @@ int mkpath(char *dir); struct string_list **splitpath(char *path, struct string_list **list); char *readfileat(int dirfd, char *name, char *buf, off_t *len); char *readfile(char *name, char *buf, off_t len); -void msleep(long miliseconds); +void msleep(long milliseconds); void nanomove(struct timespec *ts, long long offset); long long nanodiff(struct timespec *old, struct timespec *new); int highest_bit(unsigned long l); @@ -292,10 +292,10 @@ int draw_trim(char *str, int padto, int width); int tty_fd(void); int terminal_size(unsigned *xx, unsigned *yy); int terminal_probesize(unsigned *xx, unsigned *yy); -int scan_key_getsize(char *scratch, int miliwait, unsigned *xx, unsigned *yy); +int scan_key_getsize(char *scratch, int timeout_ms, unsigned *xx, unsigned *yy); int set_terminal(int fd, int raw, int speed, struct termios *old); void xset_terminal(int fd, int raw, int speed, struct termios *old); -int scan_key(char *scratch, int miliwait); +int scan_key(char *scratch, int timeout_ms); void tty_esc(char *s); void tty_jump(int x, int y); void tty_reset(void); -- cgit v1.2.3