]> de.git.xonotic.org Git - xonotic/netradiant.git/commitdiff
be a little nicer to switching font system at compile time
authorRudolf Polzer <divVerent@xonotic.org>
Thu, 9 Dec 2010 05:52:52 +0000 (06:52 +0100)
committerRudolf Polzer <divVerent@xonotic.org>
Thu, 9 Dec 2010 05:52:52 +0000 (06:52 +0100)
libs/gtkutil/glfont.cpp

index 91090f3cfc88b04f13ee353ef5855af85fd88dca..bd514a7febbb1f592cefe6174cafcd0da1303cfd 100644 (file)
@@ -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