From: Rocco Rutte Date: Sun, 30 Nov 2008 19:23:41 +0000 (+0100) Subject: Start numbering query results with 1 instead of 0 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a4eebaaf393239407ba65ce984fba4dc41e4410e;p=mutt Start numbering query results with 1 instead of 0 --- diff --git a/ChangeLog b/ChangeLog index c50fe395..b9fe1707 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2008-11-24 11:44 -0800 Brendan Cully (fd555f9fcb03) + + * doc/manual.xml.tail, main.c: Belatedtly acknowledge Rocco's + significant contributions to mutt + +2008-11-24 12:41 +0100 Rocco Rutte (dc62594cc9e9) + + * ChangeLog, doc/Makefile.am: Manual: Fix lynx call for html to text + conversion, strip \001 when dumping with elinks + 2008-11-24 11:43 +0100 Rocco Rutte (1b39f5505dec) * doc/manual.xml.head: Manual: Fix/Improve quoting diff --git a/query.c b/query.c index 46d9e999..ed0215ae 100644 --- a/query.c +++ b/query.c @@ -186,7 +186,7 @@ static const char * query_format_str (char *dest, size_t destlen, size_t col, break; case 'c': snprintf (tmp, sizeof (tmp), "%%%sd", fmt); - snprintf (dest, destlen, tmp, query->num); + snprintf (dest, destlen, tmp, query->num + 1); break; case 'e': if (!optional)