use the better defines for the xft version
This commit is contained in:
parent
2a18a4b222
commit
d9a5620f80
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue