show the Xft version nicer

This commit is contained in:
Dana Jansens 2002-12-03 15:41:03 +00:00
parent 0089719c80
commit bf95658de2

View file

@ -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;
}