summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-14 23:55:07 +0000
committerDana Jansens <danakj@orodu.net>2003-01-14 23:55:07 +0000
commitd9a5620f805d99738adc4cacdce9077f74574466 (patch)
treed4ef6483d9d773af63bd16f7d3873840fed19dbe
parent2a18a4b222f828969a3a9de3f6b7f84da7b840a1 (diff)
use the better defines for the xft version
-rw-r--r--otk/font.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/otk/font.cc b/otk/font.cc
index f649185e..a38946f0 100644
--- 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;
}