[Commits] [wesnoth/wesnoth] 7aea1c: cosmetic: tidy up punctuation in controller ctor i...
GitHub
noreply at github.com
Sat Jan 3 01:23:23 UTC 2015
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 7aea1c732a66e237eecfc5fd37665b760d8f0daf
https://github.com/wesnoth/wesnoth/commit/7aea1c732a66e237eecfc5fd37665b760d8f0daf
Author: Chris Beck <render787 at gmail.com>
Date: 2015-01-02 (Fri, 02 Jan 2015)
Changed paths:
M src/play_controller.cpp
M src/playmp_controller.cpp
M src/playsingle_controller.cpp
M src/replay_controller.cpp
Log Message:
-----------
cosmetic: tidy up punctuation in controller ctor initializer lists
Moves the : and , to lead the lines rather than end them. This
makes the initializer lists a bit more readable, as it lines up
these punctuations and separates them from the initializer
expressions. It seems to be mordante's style in most of the GUI2
code to do it this way. It also has the advantage that each line
is paired with its matching punctuation mark, so if you need to
add or rearrange things, you never need to edit a line solely to
move a comma around, reducing the noise in the diffs.
More information about the Commits
mailing list