show the Xft version nicer
This commit is contained in:
parent
0089719c80
commit
bf95658de2
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue