projects
/
open-adventure.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9af3ab4
)
Code cleanup.
author
Eric S. Raymond
<esr@thyrsus.com>
Tue, 19 Apr 2022 20:26:43 +0000
(16:26 -0400)
committer
Eric S. Raymond
<esr@thyrsus.com>
Tue, 19 Apr 2022 20:36:20 +0000
(16:36 -0400)
misc.c
patch
|
blob
|
history
diff --git
a/misc.c
b/misc.c
index 35c4e4b46b1f41dbf60f2aac877d6c6bd88b8dbf..cf404f7507f17268e7ab8098ee7cdff0559fcc36 100644
(file)
--- a/
misc.c
+++ b/
misc.c
@@
-283,12
+283,10
@@
bool silent_yes_or_no(void)
free(firstword);
- if (yes == 0 ||
- y == 0) {
+ if (yes == 0 || y == 0) {
outcome = true;
break;
- } else if (no == 0 ||
- n == 0) {
+ } else if (no == 0 || n == 0) {
outcome = false;
break;
} else
@@
-569,7
+567,6
@@
void clear_command(command_t *cmd)
cmd->state = EMPTY;
}
-
void juggle(obj_t object)
/* Juggle an object by picking it up and putting it down again, the purpose
* being to get the object to the front of the chain of things at its loc. */