diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-02-19 12:00:05 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-02-19 12:00:05 +0000 |
| commit | d2a893c0b12cf949b81e860ad11896b6a67d5190 (patch) | |
| tree | 25c651c88e38d83c77fd82bb8f47014109368456 | |
| parent | 2df4d8c7aaaa904cac084e0a41bd2219dc269e42 (diff) | |
make the version printf just a debug message
| -rw-r--r-- | otk/font.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/otk/font.cc b/otk/font.cc index 519e9386..ee9c37d7 100644 --- 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; } |
