]> granicus.if.org Git - neomutt/commit
fix pre-increment in for loops
authorRichard Russon <rich@flatcap.org>
Thu, 7 Mar 2019 03:28:31 +0000 (03:28 +0000)
committerRichard Russon <rich@flatcap.org>
Sat, 9 Mar 2019 13:03:42 +0000 (13:03 +0000)
commitaf1077dd757ca5524bed2138ff0d9926b516c6f1
tree7c125367069bbd69a5872ab952c85662ef162310
parent0ae4134f54918baf40f30519e1c2442c24aecd8f
fix pre-increment in for loops

In for loops, there's no difference in behaviour between:

  `for (int i = 0; i < 10; ++i)`
  `for (int i = 0; i < 10; i++)`

Use the C form, `i++`, for consistency.
email/parse.c
email/rfc2047.c
hcache/hcache.c
imap/auth.c
keymap.c
monitor.c
mutt/regex.c
mutt/string.c
muttlib.c
pattern.c
sendlib.c