summaryrefslogtreecommitdiff
path: root/user.c
diff options
context:
space:
mode:
Diffstat (limited to 'user.c')
-rw-r--r--user.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/user.c b/user.c
index 5e2ef19..1f89f4a 100644
--- a/user.c
+++ b/user.c
@@ -78,6 +78,8 @@ int bbs_login( term_screen *ts )
fret = bbs_login_auth( userdata_dir, username_buf, password_buf );
if ( fret == -1 )
{
+ term_cur_set_r( ts, 0 );
+ term_cur_set_c( ts, 0 );
ERROR("No such user\n"); sleep(3);
} else if ( fret == 0 )
{