X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Ffont.cc;h=ee9c37d79a22483ff0f808a4b2201b7fec33c5a0;hb=3dfe9f4ebeb7abd8446c52db0232b9f610a78846;hp=519e938651defffcc52f6654e579cb5eff86b539;hpb=bc8d855b11e82fe937aeb81926808f2715400063;p=chaz%2Fopenbox diff --git a/otk/font.cc b/otk/font.cc index 519e9386..ee9c37d7 100644 --- a/otk/font.cc +++ b/otk/font.cc @@ -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; }