summaryrefslogtreecommitdiffstats
path: root/mbbsd/screen.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-01-11 00:46:01 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-01-11 00:46:01 +0800
commit0d0b63801e05a329e97aa1756d1920f9f47ca134 (patch)
tree3654cc90a0060656692ce96e6af721d074224a28 /mbbsd/screen.c
parentd79ff03f6dce0558a4420e630ad44558deddb20d (diff)
downloadpttbbs-0d0b63801e05a329e97aa1756d1920f9f47ca134.tar
pttbbs-0d0b63801e05a329e97aa1756d1920f9f47ca134.tar.gz
pttbbs-0d0b63801e05a329e97aa1756d1920f9f47ca134.tar.bz2
pttbbs-0d0b63801e05a329e97aa1756d1920f9f47ca134.tar.lz
pttbbs-0d0b63801e05a329e97aa1756d1920f9f47ca134.tar.xz
pttbbs-0d0b63801e05a329e97aa1756d1920f9f47ca134.tar.zst
pttbbs-0d0b63801e05a329e97aa1756d1920f9f47ca134.zip
- screen: fix compilation error, reported on watch@PttBug
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3817 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/screen.c')
-rw-r--r--mbbsd/screen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/screen.c b/mbbsd/screen.c
index 1f015acc..5eee18e4 100644
--- a/mbbsd/screen.c
+++ b/mbbsd/screen.c
@@ -368,8 +368,8 @@ clrtoeol(void)
void newwin (int nlines, int ncols, int y, int x)
{
- int i=0, y, x;
- getyx(&y, &x);
+ int i=0, oy, ox;
+ getyx(&oy, &ox);
while (nlines-- > 0)
{
@@ -377,7 +377,7 @@ void newwin (int nlines, int ncols, int y, int x)
for (i = 0; i < ncols; i++)
outc(' ');
}
- move(y, x);
+ move(oy, ox);
}
/**