From ceaa322eef2355dd28ebe415e6f1646cd265cfb1 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Thu, 9 Dec 2010 06:52:52 +0100 Subject: [PATCH] be a little nicer to switching font system at compile time --- libs/gtkutil/glfont.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/gtkutil/glfont.cpp b/libs/gtkutil/glfont.cpp index 91090f3c..bd514a7f 100644 --- a/libs/gtkutil/glfont.cpp +++ b/libs/gtkutil/glfont.cpp @@ -179,7 +179,7 @@ GLFont *glfont_create(const char* font_string) return new GLFontCallList(font_list_base, font_ascent, font_descent, font_height); } -#endif +#else // new font code ripped from ZeroRadiant @@ -344,3 +344,5 @@ GLFont *glfont_create(const char* font_string) { return new GLFontInternal(font_string); } + +#endif -- 2.39.2