Indent cleanup.

This commit is contained in:
Eric S. Raymond 2022-04-18 10:31:13 -04:00
parent f7d6884ded
commit d320212622
4 changed files with 75 additions and 75 deletions

View file

@ -225,7 +225,7 @@ static phase_codes_t bigwords(vocab_t id)
return GO_CLEAROBJ; return GO_CLEAROBJ;
} }
} else { } else {
fum: fum:
if (game.loc == LOC_GIANTROOM) { if (game.loc == LOC_GIANTROOM) {
rspeak(START_OVER); rspeak(START_OVER);
} else { } else {

4
main.c
View file

@ -147,7 +147,7 @@ char *myreadline(const char *prompt)
if (settings.argc == 0) if (settings.argc == 0)
return readline(prompt); return readline(prompt);
char *buf = malloc(LINESIZE+1); char *buf = malloc(LINESIZE + 1);
for (;;) { for (;;) {
if (settings.scriptfp == NULL || feof(settings.scriptfp)) { if (settings.scriptfp == NULL || feof(settings.scriptfp)) {
if (settings.optind >= settings.argc) { if (settings.optind >= settings.argc) {
@ -1109,7 +1109,7 @@ static bool preprocess_command(command_t *command)
} }
/* If no word type is given for the first word, we assume it's a motion. */ /* If no word type is given for the first word, we assume it's a motion. */
if(command->word[0].type == NO_WORD_TYPE) if (command->word[0].type == NO_WORD_TYPE)
command->word[0].type = MOTION; command->word[0].type = MOTION;
command->state = PREPROCESSED; command->state = PREPROCESSED;