X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=render%2Ffont.c;h=c03ea544447f789008297e545a0e312714864cef;hb=7d215bd255d0744101b9ceb52c235bdc985fa034;hp=b92bafb1006a0c22ddffa36f76664bf5496c9c91;hpb=0c2f95674f56e25e2b74cce506d9d89ec41252a4;p=chaz%2Fopenbox diff --git a/render/font.c b/render/font.c index b92bafb1..c03ea544 100644 --- a/render/font.c +++ b/render/font.c @@ -12,12 +12,12 @@ void font_startup(void) int version; #endif /* DEBUG */ if (!XftInit(0)) { - g_warning(_("Couldn't initialize Xft.\n\n")); + g_warning(_("Couldn't initialize Xft.\n")); exit(3); } #ifdef DEBUG version = XftGetVersion(); - g_message("Using Xft %d.%d.%d (Built against %d.%d.%d).\n", + g_message("Using Xft %d.%d.%d (Built against %d.%d.%d).", version / 10000 % 100, version / 100 % 100, version % 100, XFT_MAJOR, XFT_MINOR, XFT_REVISION); #endif @@ -35,7 +35,6 @@ static void measure_height(ObFont *f) XftTextExtentsUtf8(ob_display, f->xftfont, (FcChar8*)str, strlen(str), &info); - g_message("measured: %d", info.height); f->height = (signed) info.height; }