Reindentation

This commit is contained in:
NHOrus 2017-08-13 15:56:07 +01:00
parent f0dc3d3b7c
commit 0fbd79b608
4 changed files with 72 additions and 73 deletions

View file

@ -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
View file

@ -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