commit a3f3a544e90ebed221c114a80006637df0f7a116
parent 9f3ab6fcdbed460ce2ed87d38da2d31de41ee8c1
Author: Benjamin Chausse <benjamin@chausse.xyz>
Date:   Tue, 23 Feb 2021 13:36:05 -0500

Alpha patch tweaked to work with tcc

Diffstat:
Mconfig.def.h | 9+++++++--
Mconfig.mk | 2+-
2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/config.def.h b/config.def.h @@ -9,8 +9,13 @@ static const char *fonts[] = { "monospace:size=12", "JoyPixels:pixelsize=11:antialias=true:autohint=true" }; -static const unsigned int bgalpha = 0xe0; -static const unsigned int fgalpha = OPAQUE; + +#define bgalpha 0xe0 +#define fgalpha OPAQUE + +/* static const unsigned int bgalpha = 0xe0; */ +/* static const unsigned int fgalpha = OPAQUE; */ + static const char *prompt = NULL; /* -p option; prompt to the left of input field */ static const char *colors[SchemeLast][2] = { /* fg bg */ diff --git a/config.mk b/config.mk @@ -28,4 +28,4 @@ CFLAGS = -std=c99 -pedantic -Wall -Os $(INCS) $(CPPFLAGS) LDFLAGS = $(LIBS) # compiler and linker -CC = cc +CC = tcc