diff options
author | June McEnroe <june@causal.agency> | 2018-07-30 19:21:40 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2018-07-30 19:21:40 -0400 |
commit | 1ce5384b7f7fc5a1de9d61c2c5b757ecd535db81 (patch) | |
tree | 3d283ce3b329ec0bc9c7e9d0e7bab47c883c5a6b /bin | |
parent | Add gfx README and LICENSE (diff) | |
download | src-1ce5384b7f7fc5a1de9d61c2c5b757ecd535db81.tar.gz src-1ce5384b7f7fc5a1de9d61c2c5b757ecd535db81.zip |
Rename linux function in scheme
The token 'linux' is #defined. Dumb.
Diffstat (limited to '')
-rw-r--r-- | bin/scheme.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/scheme.c b/bin/scheme.c index 402a12c3..546d68fa 100644 --- a/bin/scheme.c +++ b/bin/scheme.c @@ -125,7 +125,7 @@ static void hex(const struct Hsv *hsv, size_t len) { } } -static void linux(const struct Hsv *hsv, size_t len) { +static void console(const struct Hsv *hsv, size_t len) { if (len > 16) len = 16; for (size_t i = 0; i < len; ++i) { struct Rgb rgb = toRgb(hsv[i]); @@ -207,7 +207,7 @@ int main(int argc, char *argv[]) { break; case 'a': gen = ansi; break; case 'g': out = png; break; case 'h': out = hsv; - break; case 'l': out = linux; + break; case 'l': out = console; break; case 't': gen = terminal; break; case 'x': out = hex; break; default: return EX_USAGE; |