From bda5a8d1d286a406816af958c43bfef6d19fc4f5 Mon Sep 17 00:00:00 2001 From: Howland Owl Date: Wed, 26 Apr 2017 01:23:20 +0300 Subject: [PATCH] a bit silly but leave the usealtcolors thing in there to stop compile errors --- st.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/st.c b/st.c index 92c35d4..dd446cd 100644 --- a/st.c +++ b/st.c @@ -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; }