From d2a893c0b12cf949b81e860ad11896b6a67d5190 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 19 Feb 2003 12:00:05 +0000 Subject: [PATCH] make the version printf just a debug message --- otk/font.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } -- 2.45.2