~rabbits/orca-toy

e8c9e6129dcd07ea747cb8efc986453632ec910d — neauoire 6 months ago 358741b
Fixed issue with cchr
2 files changed, 1 insertions(+), 3 deletions(-)

M README.md
M orca.c
M README.md => README.md +1 -1
@@ 9,7 9,7 @@ This is a minimalist implementation of the basic operators created for education
You must have [SDL2](https://wiki.libsdl.org/) and [portmidi](http://portmedia.sourceforge.net/portmidi/).

```
cc orca.c sim.c -std=c89 -O2 -DNDEBUG -g0 -s -Wall -L/usr/local/lib -lSDL2 -o orca
cc orca.c -std=c89 -O2 -DNDEBUG -g0 -s -Wall -L/usr/local/lib -lSDL2 -o orca
```

## Operators

M orca.c => orca.c +0 -2
@@ 183,8 183,6 @@ char
cchr(int v, char c)
{
	v = abs(v % 36);
	if(c == '.')
		return '.';
	if(v >= 0 && v <= 9)
		return '0' + v;
	return (c >= 'A' && c <= 'Z' ? 'A' : 'a') + v - 10;