projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0089719
)
show the Xft version nicer
author
Dana Jansens
<danakj@orodu.net>
Tue, 3 Dec 2002 15:41:03 +0000
(15:41 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Tue, 3 Dec 2002 15:41:03 +0000
(15:41 +0000)
otk/font.cc
patch
|
blob
|
history
diff --git
a/otk/font.cc
b/otk/font.cc
index e7b8bab1a955dde35194e247863de95ce666c245..ac76696e8ebedfb69b6ff1f13ae5ddccc968536d 100644
(file)
--- a/
otk/font.cc
+++ b/
otk/font.cc
@@
-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;
}