summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-07-30 19:21:40 -0400
committerJune McEnroe <june@causal.agency>2018-07-30 19:21:40 -0400
commit3252a0da1d00cfebd0088f8fc453e30ee4860d73 (patch)
tree9ef042735c097792ebd6e165a9ed16c8b4025df8
parentAdd gfx README and LICENSE (diff)
downloadsrc-3252a0da1d00cfebd0088f8fc453e30ee4860d73.tar.gz
src-3252a0da1d00cfebd0088f8fc453e30ee4860d73.zip
Rename linux function in scheme
The token 'linux' is #defined. Dumb.
Diffstat (limited to '')
-rw-r--r--bin/scheme.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/scheme.c b/bin/scheme.c
index e50ea892..ba05f14e 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;
>Rename music.md to music.txtJune McEnroe 2019-12-23Add DO YOU DOUBT ME TRAITORJune McEnroe 2019-12-22Add license header to cgit CSSJune McEnroe 2019-12-22Add The Book of EttaJune McEnroe 2019-12-21Revert "Add first working version of imbox"June McEnroe 2019-12-21Add first working version of imboxJune McEnroe 2019-12-20Respect mailmap in gl pretty formatJune McEnroe 2019-12-20Set LANG in cgit filtersJune McEnroe 2019-12-20Source .editrc before applying -v or -eJune McEnroe 2019-12-20Disable signing commitsJune McEnroe 2019-12-19Ignore about-filterJune McEnroe 2019-12-19Fix matching make tags with no sourcesJune McEnroe 2019-12-19Avoid matching := assignments as tagsJune McEnroe 2019-12-18Hide line numbers when rendering mdocJune McEnroe 2019-12-18Customize cgit CSSJune McEnroe 2019-12-18Use :target rather than :focus pseudo-classJune McEnroe 2019-12-18Copy cgit auxiliary binaries properlyJune McEnroe 2019-12-18Add git.causal.agency cgit configJune McEnroe 2019-12-18Bail from hi if input is binaryJune McEnroe 2019-12-16Post "cgit setup"June McEnroe