]> Dogcows Code - chaz/openbox/blobdiff - otk/font.cc
better xft checks. require xft version 2
[chaz/openbox] / otk / font.cc
index e7b8bab1a955dde35194e247863de95ce666c245..ac76696e8ebedfb69b6ff1f13ae5ddccc968536d 100644 (file)
@@ -51,10 +51,11 @@ BFont::BFont(int screen_num, const string &fontstring,
   
   if (!_xft_init) {
     if (!XftInit(0)) {
-      printf(_("Couldn't initialize Xft version %d.\n\n"), XftVersion);
+      printf(_("Couldn't initialize Xft version %d.%d.%d.\n\n"),
+             XFT_MAJOR, XFT_MINOR, XFT_REVISION);
       ::exit(3);
     }
-    printf(_("Using Xft %d.\n"), XftVersion);
+    printf(_("Using Xft %d.%d.%d.\n"), XFT_MAJOR, XFT_MINOR, XFT_REVISION);
     _xft_init = true;
   }
 
This page took 0.021251 seconds and 4 git commands to generate.