summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-03-19 21:04:10 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-03-19 21:04:10 +0800
commitd113f8eb2c067aedc8832ef7815b13d88620489c (patch)
tree143fa318a6c3c2ed8a7486693dd8e211616282fe /mbbsd
parentacbe09fe086f09e90dce413b32ff294011874d9a (diff)
downloadpttbbs-d113f8eb2c067aedc8832ef7815b13d88620489c.tar
pttbbs-d113f8eb2c067aedc8832ef7815b13d88620489c.tar.gz
pttbbs-d113f8eb2c067aedc8832ef7815b13d88620489c.tar.bz2
pttbbs-d113f8eb2c067aedc8832ef7815b13d88620489c.tar.lz
pttbbs-d113f8eb2c067aedc8832ef7815b13d88620489c.tar.xz
pttbbs-d113f8eb2c067aedc8832ef7815b13d88620489c.tar.zst
pttbbs-d113f8eb2c067aedc8832ef7815b13d88620489c.zip
comment on bad code
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2661 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mbbsd/io.c b/mbbsd/io.c
index e10259ec..fde21d3b 100644
--- a/mbbsd/io.c
+++ b/mbbsd/io.c
@@ -257,6 +257,7 @@ igetch(void)
int oldroll = roll;
int y, x, my_newfd;
+ // FIXME reveal heap data or crash if screen resize
getyx(&y, &x);
screen0=malloc(screen_backupsize(t_lines, big_picture));
screen_backup(t_lines, big_picture, screen0);