From bf95658de24b699138363ad758d9f59517dbe0e9 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 3 Dec 2002 15:41:03 +0000 Subject: [PATCH] show the Xft version nicer --- otk/font.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/otk/font.cc b/otk/font.cc index e7b8bab1..ac76696e 100644 --- a/otk/font.cc +++ b/otk/font.cc @@ -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; } -- 2.45.2