diff options
author | FreeArtMan <dos21h@gmail.com> | 2015-01-24 19:43:28 +0900 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2015-01-24 19:43:28 +0900 |
commit | 3090282601248d3ce5f91cbddeb450d744b27472 (patch) | |
tree | 30125025d0bb370b886700548e5be25ba0fa0d62 /motd.c | |
parent | c49166a323b9a1bb777e949c0bcbedc7eceab3cd (diff) | |
download | microbbs-3090282601248d3ce5f91cbddeb450d744b27472.tar.gz microbbs-3090282601248d3ce5f91cbddeb450d744b27472.zip |
Fixed bug with drawing last line in motd. New motd
Diffstat (limited to 'motd.c')
-rw-r--r-- | motd.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -8,7 +8,7 @@ int bbs_motd_draw( term_screen *ts, const char *fname ) { int posc=0, posr=0; int ret=0; - const int buf_size=80*25+1; + const int buf_size=80*26+1; char buf[buf_size]; int x=0,y=0; int row=0,column=0; @@ -48,6 +48,7 @@ int bbs_motd_draw( term_screen *ts, const char *fname ) } i++; } + fflush( stdout ); } } |