citrun

watch C/C++ source code execute
Log | Files | Refs | LICENSE

commit 48aa072edc844251065f1d472abd97ca4ed787d6
parent 61f28ad5221ac7d627c68fbdd8daa35d33960bd3
Author: Kyle Milz <kyle@0x30.net>
Date:   Sun, 11 Dec 2016 14:08:03 -0700

src: error if FONT_PATH isn't set

Diffstat:
Msrc/gl_main.cc | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/gl_main.cc b/src/gl_main.cc @@ -18,6 +18,8 @@ #define FONT_PATH "/Library/Fonts/Andale Mono.ttf" #elif defined(__gnu_linux__) #define FONT_PATH "/usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf" +#else +#error "Font path not configured for this platform!" #endif demo_glstate_t *st;