a bit silly but leave the usealtcolors thing in there to stop compile errors

This commit is contained in:
Howland Owl 2017-04-26 01:23:20 +03:00
parent a49815838c
commit bda5a8d1d2

4
st.c
View file

@ -4171,10 +4171,8 @@ numlock(const Arg *dummy)
void
swapcolors(const Arg *dummy)
{
// usealtcolors = !usealtcolors;
usealtcolors = !usealtcolors;
whichcolortable = whichcolortable +1;
printf("%d, %d\n",whichcolortable,
sizeof(colornames)/sizeof(colornames[0]) );
if ( whichcolortable >= sizeof(colornames)/sizeof(colornames[0]) ) {
whichcolortable = 0;
}