make the version printf just a debug message
This commit is contained in:
parent
2df4d8c7aa
commit
d2a893c0b1
1 changed files with 3 additions and 1 deletions
|
@ -39,10 +39,12 @@ Font::Font(int screen_num, const std::string &fontstring,
|
||||||
printf(_("Couldn't initialize Xft.\n\n"));
|
printf(_("Couldn't initialize Xft.\n\n"));
|
||||||
::exit(3);
|
::exit(3);
|
||||||
}
|
}
|
||||||
|
#ifdef DEBUG
|
||||||
int version = XftGetVersion();
|
int version = XftGetVersion();
|
||||||
printf(_("Using Xft %d.%d.%d (Built against %d.%d.%d).\n"),
|
printf("Using Xft %d.%d.%d (Built against %d.%d.%d).\n",
|
||||||
version / 10000 % 100, version / 100 % 100, version % 100,
|
version / 10000 % 100, version / 100 % 100, version % 100,
|
||||||
XFT_MAJOR, XFT_MINOR, XFT_REVISION);
|
XFT_MAJOR, XFT_MINOR, XFT_REVISION);
|
||||||
|
#endif
|
||||||
_xft_init = true;
|
_xft_init = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue