Ignore:
Timestamp:
2012-11-25T20:43:52Z (11 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
67f6828
Parents:
3592b95
Message:

Use hex for show_ids, but stick to the 2-char maximum. a 256-message backlog
really should be enough.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/twitter/twitter_lib.c

    r3592b95 rf97b8e9  
    644644        if (set_getbool(&ic->acc->set, "show_ids")) {
    645645                if (reply_to != -1)
    646                         return g_strdup_printf("\002[\002%02d->%02d\002]\002 %s%s",
     646                        return g_strdup_printf("\002[\002%02x->%02x\002]\002 %s%s",
    647647                                               td->log_id, reply_to, prefix, txs->text);
    648648                else
    649                         return g_strdup_printf("\002[\002%02d\002]\002 %s%s",
     649                        return g_strdup_printf("\002[\002%02x\002]\002 %s%s",
    650650                                               td->log_id, prefix, txs->text);
    651651        } else {
Note: See TracChangeset for help on using the changeset viewer.