Skip to content

Commit 51773da

Browse files
committed
Fix line proxies not clearing properly in some cases
1 parent 63b866d commit 51773da

14 files changed

+206
-102
lines changed

Makefile

+6-3
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ TGT_DIR = .
1111
ifeq ($(shell uname -s),FreeBSD)
1212
INCLUDES = -I/usr/local/include/freetype2/
1313
INCLUDES += -I/usr/local/include
14-
LDLIBS = -lGL -lfreetype -lfontconfig -lutil -L/usr/local/lib -lm
14+
LDLIBS = -lfreetype -lfontconfig -lutil -L/usr/local/lib -lm
1515
else
1616
CC?= cc
1717
INCLUDES = -I/usr/include/freetype2/
18-
LDLIBS = -lGL -lfreetype -lfontconfig -lutil -L/usr/lib -lm
18+
LDLIBS = -lfreetype -lfontconfig -lutil -L/usr/lib -lm
1919
endif
2020

2121
ifeq ($(mode),sanitized)
@@ -33,6 +33,9 @@ else ifeq ($(mode),debugoptimized)
3333
CFLAGS = -std=c18 -MD -g -O2 -fno-omit-frame-pointer -mtune=generic -ffast-math -fshort-enums -DDEBUG
3434
LDFLAGS = -O2 -g
3535
LDLIBS += -lGLU
36+
else ifeq ($(mode),quick)
37+
CFLAGS = -std=c18 -MD -fshort-enums
38+
LDFLAGS =
3639
else
3740
CFLAGS = -std=c18 -MD -O2 -mtune=generic -ffast-math -fshort-enums -flto=auto
3841
LDFLAGS = -O2 -flto=auto
@@ -99,7 +102,7 @@ cleanall:
99102
$(RM) -f $(EXEC) $(OBJ) $(OBJ:.o=.d)
100103

101104
install:
102-
@cp $(EXEC) $(INSTALL_DIR)/
105+
cp $(EXEC) $(INSTALL_DIR)/
103106

104107
uninstall:
105108
$(RM) $(INSTALL_DIR)/$(EXEC)

src/base64.c

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#include "base64.h"
22
#include "util.h"
3+
34
#include <ctype.h>
45
#include <stdint.h>
56

src/config_parser.c

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#include "config_parser.h"
22

3+
#include <ctype.h>
34
#include <stdbool.h>
45

56
static inline bool call_on_syntax_error_helper(

src/config_parser.h

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
#include <stdarg.h>
44

5-
#include "util.h"
65
#include "vector.h"
76

87
DEF_VECTOR(char, NULL)

src/fmt.c

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#define _GNU_SOURCE
22

3+
#include <ctype.h>
34
#include <stddef.h>
45
#include <stdlib.h>
56
#include <string.h>

0 commit comments

Comments
 (0)