aboutsummaryrefslogtreecommitdiffstats
path: root/map.c
diff options
context:
space:
mode:
authorSteve Slaven <bpk@hoopajoo.net>2005-03-21 18:49:34 (GMT)
committerSteve Slaven <bpk@hoopajoo.net>2005-03-21 18:49:34 (GMT)
commitabe994ae16b892106e0b36d7be5bfd7e1100075c (patch)
treebe899fbb5d23e280ca8ce17b1bf2da4d9afe0f28 /map.c
parentcb2555e19237930a25989a7cd2bee4589f1d515d (diff)
downloadpowwow-abe994ae16b892106e0b36d7be5bfd7e1100075c.zip
powwow-abe994ae16b892106e0b36d7be5bfd7e1100075c.tar.gz
powwow-abe994ae16b892106e0b36d7be5bfd7e1100075c.tar.bz2
Internally renamed some option flags to match their #opt counterparts:
echo_int => opt_info echo_key => opt_keyecho echo_ext => opt_echo As per the 1.2.6-dain patch
Diffstat (limited to 'map.c')
-rw-r--r--map.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/map.c b/map.c
index 8b88269..5b2198c 100644
--- a/map.c
+++ b/map.c
@@ -59,7 +59,7 @@ void map_retrace __P2 (int,steps, int,walk_back)
else {
if (!steps)
steps = -1;
- if (walk_back && echo_ext) {
+ if (walk_back && opt_echo) {
status(1);
tty_putc('[');
}
@@ -68,12 +68,12 @@ void map_retrace __P2 (int,steps, int,walk_back)
mapend = MAPINDEX(mapend - 1);
if (walk_back) {
cmd[0] = reverse_dir(mappath[mapend]);
- if (echo_ext)
+ if (opt_echo)
tty_putc(cmd[0]);
tcp_write(tcp_fd, cmd);
}
}
- if (walk_back && echo_ext)
+ if (walk_back && opt_echo)
tty_puts("]\n");
}
}