]> Dogcows Code - chaz/openbox/commitdiff
make the version printf just a debug message
authorDana Jansens <danakj@orodu.net>
Wed, 19 Feb 2003 12:00:05 +0000 (12:00 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 19 Feb 2003 12:00:05 +0000 (12:00 +0000)
otk/font.cc

index 519e938651defffcc52f6654e579cb5eff86b539..ee9c37d79a22483ff0f808a4b2201b7fec33c5a0 100644 (file)
@@ -39,10 +39,12 @@ Font::Font(int screen_num, const std::string &fontstring,
       printf(_("Couldn't initialize Xft.\n\n"));
       ::exit(3);
     }
+#ifdef DEBUG
     int version = XftGetVersion();
-    printf(_("Using Xft %d.%d.%d (Built against %d.%d.%d).\n"),
+    printf("Using Xft %d.%d.%d (Built against %d.%d.%d).\n",
            version / 10000 % 100, version / 100 % 100, version % 100,
            XFT_MAJOR, XFT_MINOR, XFT_REVISION);
+#endif
     _xft_init = true;
   }
 
This page took 0.028866 seconds and 4 git commands to generate.