From: Dana Jansens Date: Wed, 19 Feb 2003 12:00:05 +0000 (+0000) Subject: make the version printf just a debug message X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=d2a893c0b12cf949b81e860ad11896b6a67d5190;p=chaz%2Fopenbox make the version printf just a debug message --- 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; }