diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2012-11-25 20:43:52 +0000 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2012-11-25 20:43:52 +0000 |
commit | f97b8e9637acba704e976dff79436a83c0f9c63a (patch) | |
tree | a7852ec05623e31d62672e942aa5e6c6304ae5c8 /protocols/twitter/twitter_lib.c | |
parent | 3592b95ac23e243425e20ff9f69f407cb5ec4a74 (diff) |
Use hex for show_ids, but stick to the 2-char maximum. a 256-message backlog
really should be enough.
Diffstat (limited to 'protocols/twitter/twitter_lib.c')
-rw-r--r-- | protocols/twitter/twitter_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/twitter/twitter_lib.c b/protocols/twitter/twitter_lib.c index fe276133..862104f5 100644 --- a/protocols/twitter/twitter_lib.c +++ b/protocols/twitter/twitter_lib.c @@ -643,10 +643,10 @@ static char *twitter_msg_add_id(struct im_connection *ic, if (set_getbool(&ic->acc->set, "show_ids")) { if (reply_to != -1) - return g_strdup_printf("\002[\002%02d->%02d\002]\002 %s%s", + return g_strdup_printf("\002[\002%02x->%02x\002]\002 %s%s", td->log_id, reply_to, prefix, txs->text); else - return g_strdup_printf("\002[\002%02d\002]\002 %s%s", + return g_strdup_printf("\002[\002%02x\002]\002 %s%s", td->log_id, prefix, txs->text); } else { if (*prefix) |