From bb7c6e7549ae082c315b679bf13f7034a78a360c Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Fri, 12 Mar 2010 00:50:10 +0100 Subject: [PATCH] Use LOG instead of DLOG/ELOG --- src/xcb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5