projects
/
super-star-trek.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a079e80
)
Fix some messages.
author
Eric S. Raymond
<esr@thyrsus.com>
Fri, 4 Feb 2005 14:21:20 +0000
(14:21 +0000)
committer
Eric S. Raymond
<esr@thyrsus.com>
Fri, 4 Feb 2005 14:21:20 +0000
(14:21 +0000)
io.c
patch
|
blob
|
history
moving.c
patch
|
blob
|
history
diff --git
a/io.c
b/io.c
index 3016890ee3060a6a2f91521f83b42978411e7acc..93ea8427d06b743f51c7ae0bd1b87771639a9384 100644
(file)
--- a/
io.c
+++ b/
io.c
@@
-164,9
+164,11
@@
void skip(int i) {
}
#else /* SERGEEV */
while (i-- > 0) proutn("\n\r");
+#endif /* SERGEEV */
}
static void vproutn(char *fmt, va_list ap) {
+#ifdef SERGEEV
char *s, *p;
vasprintf(&s, fmt, ap);
p=s;
diff --git
a/moving.c
b/moving.c
index 537a82b3783224af029230765626621fbefee5d9..174cd54b79a84fef6fe64071afb21fd468dd76e1 100644
(file)
--- a/
moving.c
+++ b/
moving.c
@@
-107,7
+107,7
@@
void imove(void) {
quady = (iy+9)/10;
sectx = ix - 10*(quadx-1);
secty = iy - 10*(quady-1);
- prout
n
("\n\rEntering %s.",
+ prout("\n\rEntering %s.",
cramlc(quadrant, quadx, quady));
game.quad[sectx][secty] = ship;
newqad(0);