From: Dana Jansens Date: Tue, 14 Jan 2003 22:49:59 +0000 (+0000) Subject: display the build version as well as the runtime version of Xft X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=219e18e74466120016b849cae86c34789598773a;p=chaz%2Fopenbox display the build version as well as the runtime version of Xft --- diff --git a/otk/font.cc b/otk/font.cc index a51e158c..f649185e 100644 --- a/otk/font.cc +++ b/otk/font.cc @@ -50,9 +50,11 @@ Font::Font(int screen_num, const std::string &fontstring, printf(_("Couldn't initialize Xft.\n\n")); ::exit(3); } + int build = XFT_VERSION; int version = XftGetVersion(); - printf(_("Using Xft %d.%d.%d.\n"), - version / 10000 % 100, version / 100 % 100, version % 100); + printf(_("Using Xft %d.%d.%d (Built against %d.%d.%d).\n"), + version / 10000 % 100, version / 100 % 100, version % 100, + build / 10000 % 100, build / 100 % 100, build % 100); _xft_init = true; }