]> Dogcows Code - chaz/openbox/commitdiff
show the Xft version nicer
authorDana Jansens <danakj@orodu.net>
Tue, 3 Dec 2002 15:41:03 +0000 (15:41 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 3 Dec 2002 15:41:03 +0000 (15:41 +0000)
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.024498 seconds and 4 git commands to generate.