Johannes Sixt wrote:
Am 15.03.2012 19:51, schrieb Jonathan Nieder:
quoted
@@ -141,40 +142,42 @@ const char *show_date_relative(unsigned long time, int tz,
unsigned long years = totalmonths / 12;
unsigned long months = totalmonths % 12;
if (months) {
struct strbuf sb = STRBUF_INIT;
strbuf_addf(&sb, Q_("%lu year", "%lu years", years), years);
/* TRANSLATORS: "%s" is "<n> years" */
- snprintf(timebuf, timebuf_size,
+ strbuf_addf(timebuf,
OT: You have 6 lines of context here, unlike all other hunks, which have
only 3 lines. Something weird or simple to explain?
Just manual patch mangling. ;-)