projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a18a4b
)
use the better defines for the xft version
author
Dana Jansens
<danakj@orodu.net>
Tue, 14 Jan 2003 23:55:07 +0000
(23:55 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Tue, 14 Jan 2003 23:55:07 +0000
(23:55 +0000)
otk/font.cc
patch
|
blob
|
history
diff --git
a/otk/font.cc
b/otk/font.cc
index
f649185
..
a38946f
100644
(file)
--- a/
otk/font.cc
+++ b/
otk/font.cc
@@
-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;
}