diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-01-11 00:46:01 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-01-11 00:46:01 +0800 |
commit | 0d0b63801e05a329e97aa1756d1920f9f47ca134 (patch) | |
tree | 3654cc90a0060656692ce96e6af721d074224a28 /mbbsd | |
parent | d79ff03f6dce0558a4420e630ad44558deddb20d (diff) | |
download | pttbbs-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')
-rw-r--r-- | mbbsd/screen.c | 6 |
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); } /** |