]> granicus.if.org Git - nethack/commit
formatting: src/a*.c - d*.c continuation lines
authorPatR <rankin@nethack.org>
Tue, 20 Oct 2015 00:32:21 +0000 (17:32 -0700)
committerPatR <rankin@nethack.org>
Tue, 20 Oct 2015 00:32:21 +0000 (17:32 -0700)
commit3986546325d5646da79885edd1a1747868d90003
treec05c6f21f66bad889fe3d6c575b6f87d6ef63cc6
parent2c20805b16fdd74eb37a5639a7d018d5e09dadb4
formatting: src/a*.c - d*.c continuation lines

Mostly && and || at end of the first half of a continued line rather
than at the start of the second half.  The automated reformat got
confused by comments in the midst of such lines.
  foo ||
  bar
was converted to
  foo
  || bar
but
  foo ||
  /* comment */
  bar
stayed as is.

Some excluded code [#if 0] was also manually reformatted, but this is
mainly stuff that can be found via regexp '[&|?:][ \t]*$' (with a lot
of false hits for labels whose colon ends their line).
12 files changed:
src/apply.c
src/artifact.c
src/ball.c
src/cmd.c
src/dig.c
src/display.c
src/do_wear.c
src/dog.c
src/dogmove.c
src/dokick.c
src/dothrow.c
src/dungeon.c