From: Michael Stapelberg Date: Thu, 11 Mar 2010 23:50:10 +0000 (+0100) Subject: Use LOG instead of DLOG/ELOG X-Git-Tag: 3.e~14 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bb7c6e7549ae082c315b679bf13f7034a78a360c;p=i3%2Fi3 Use LOG instead of DLOG/ELOG --- diff --git a/src/xcb.c b/src/xcb.c index fa7091bb..9e803c84 100644 --- a/src/xcb.c +++ b/src/xcb.c @@ -309,7 +309,7 @@ int predict_text_width(xcb_connection_t *conn, const char *font_pattern, char *t cookie = xcb_query_text_extents(conn, font->id, length, (xcb_char2b_t*)text); if ((reply = xcb_query_text_extents_reply(conn, cookie, &error)) == NULL) { - ELOG("Could not get text extents (X error code %d)\n", + LOG("Could not get text extents (X error code %d)\n", error->error_code); /* We return the rather safe guess of 7 pixels, because a * rendering error is better than a crash. Plus, the user will