diff --git a/README.md b/README.md index 49ae7a0..9958761 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,3 @@ OR ## install `install -m755 rbtext /usr/bin` - - -> Can't get any simpler diff --git a/rbtext.c b/rbtext.c index a980e57..81998a1 100644 --- a/rbtext.c +++ b/rbtext.c @@ -44,7 +44,7 @@ void genColors(char *s) { char *cstr = (char *)malloc(64 + 1); for (unsigned long i = 0; i < strlen(s); i++) { - unsigned long c = (((t + i) / CONF_COLOR_LAG) % COLORS_SIZE); + unsigned long c = ((t + i) / CONF_COLOR_LAG) % COLORS_SIZE; snprintf(cstr, 64, "\e[38;2;%sm", COLORS[c]); printf("%s%c\e[0m",cstr,s[i]); }