Reindentation
This commit is contained in:
parent
f0dc3d3b7c
commit
0fbd79b608
4 changed files with 72 additions and 73 deletions
2
advent.h
2
advent.h
|
@ -134,7 +134,7 @@ struct game_t {
|
|||
long dflag;
|
||||
|
||||
long dkill; // dwarves killed
|
||||
long dtotal; // total dwarves (including pirate)
|
||||
long dtotal; // total dwarves (including pirate) in loc
|
||||
long foobar; // progress in saying "FEE FIE FOE FOO".
|
||||
long holdng; // number of objects being carried
|
||||
long igo; // # uses of "go" instead of a direction
|
||||
|
|
3
misc.c
3
misc.c
|
@ -402,8 +402,7 @@ static bool is_valid_int(const char *str)
|
|||
return false; // LCOV_EXCL_LINE
|
||||
|
||||
// Check for non-digit chars in the rest of the stirng.
|
||||
while (*str)
|
||||
{
|
||||
while (*str) {
|
||||
if (!isdigit(*str))
|
||||
return false;
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue