summaryrefslogtreecommitdiffstats
path: root/mbbsd/kaede.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-15 10:04:38 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-15 10:04:38 +0800
commit4c520550cca32522e89fe01e2e0d3d172ed6b86d (patch)
tree60fc322c61a50438a8043e8cd48c845a5ee41ea7 /mbbsd/kaede.c
parenta942aaef1cdde595f482a853e6a1291c04b9d2c7 (diff)
downloadpttbbs-4c520550cca32522e89fe01e2e0d3d172ed6b86d.tar
pttbbs-4c520550cca32522e89fe01e2e0d3d172ed6b86d.tar.gz
pttbbs-4c520550cca32522e89fe01e2e0d3d172ed6b86d.tar.bz2
pttbbs-4c520550cca32522e89fe01e2e0d3d172ed6b86d.tar.lz
pttbbs-4c520550cca32522e89fe01e2e0d3d172ed6b86d.tar.xz
pttbbs-4c520550cca32522e89fe01e2e0d3d172ed6b86d.tar.zst
pttbbs-4c520550cca32522e89fe01e2e0d3d172ed6b86d.zip
- bbs: fix utmp_brcid out-of-sync on 's' select.
- visio: change unified handle (VSOREF) to typed ref, and utilize new APIs git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4165 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/kaede.c')
-rw-r--r--mbbsd/kaede.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mbbsd/kaede.c b/mbbsd/kaede.c
index 321d52e8..c3a8f797 100644
--- a/mbbsd/kaede.c
+++ b/mbbsd/kaede.c
@@ -116,8 +116,7 @@ outslr(const char *left, int leftlen, const char *right, int rightlen)
void
out_lines(const char *str, int line)
{
- int y, x;
- getyx(&y, &x);
+ int y = vgety();
while (*str && line) {
if (*str == '\n')
{