X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=otk%2Ffont.cc;h=a38946f02ad4efc3efccf72e5ea71c92de714154;hb=5b52a8f5610d3cc0a39ecb6b341e69596d892099;hp=f649185ede37a4db847df2ff30031798a129b19c;hpb=219e18e74466120016b849cae86c34789598773a;p=chaz%2Fopenbox diff --git a/otk/font.cc b/otk/font.cc index f649185e..a38946f0 100644 --- a/otk/font.cc +++ b/otk/font.cc @@ -50,11 +50,10 @@ 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 (Built against %d.%d.%d).\n"), version / 10000 % 100, version / 100 % 100, version % 100, - build / 10000 % 100, build / 100 % 100, build % 100); + XFT_MAJOR, XFT_MINOR, XFT_REVISION); _xft_init = true; }