diff options
Diffstat (limited to 'lolcat.c')
-rw-r--r-- | lolcat.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -19,7 +19,7 @@ #include <stdio.h> #include <wchar.h> #include <ctype.h> -#include <error.h> +#include <err.h> #include <errno.h> #include <stdlib.h> #include <string.h> @@ -27,8 +27,6 @@ #include <unistd.h> #include <sys/time.h> -#include "fgetwc_fix.h" - static char helpstr[] = "\n" "Usage: lolcat [-h horizontal_speed] [-v vertical_speed] [--] [FILES...]\n" @@ -139,7 +137,7 @@ int main(int argc, char **argv){ return 2; } - while((c = _fgetwc_fixed(f)) > 0){ + while((c = fgetwc(f)) > 0){ if(colors){ find_escape_sequences(c, &escape_state); |