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:
2df4d8c
)
make the version printf just a debug message
author
Dana Jansens
<danakj@orodu.net>
Wed, 19 Feb 2003 12:00:05 +0000
(12:00 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Wed, 19 Feb 2003 12:00:05 +0000
(12:00 +0000)
otk/font.cc
patch
|
blob
|
history
diff --git
a/otk/font.cc
b/otk/font.cc
index 519e938651defffcc52f6654e579cb5eff86b539..ee9c37d79a22483ff0f808a4b2201b7fec33c5a0 100644
(file)
--- a/
otk/font.cc
+++ b/
otk/font.cc
@@
-39,10
+39,12
@@
Font::Font(int screen_num, const std::string &fontstring,
printf(_("Couldn't initialize Xft.\n\n"));
::exit(3);
}
+#ifdef DEBUG
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,
XFT_MAJOR, XFT_MINOR, XFT_REVISION);
+#endif
_xft_init = true;
}