なぜか一行分多く画面に出力されて表示が壊れていたので修正

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlToolsRED@13 7061adef-622a-194b-ae81-725974e89856
This commit is contained in:
yoshida_teruhisa 2008-10-20 07:24:38 +00:00
parent 874c43657e
commit 1129eeb150

View File

@ -383,7 +383,7 @@ void text_buf_to_vram(TEXT_CTRL *tc)
put_char_vram(tc, '\f', (u16)0);
for(line_no = 0 ; line_no < (*tb->num_y + 1) ; line_no++ ){
for(line_no = 0 ; line_no < *tb->num_y ; line_no++ ){
//miya x_line = 0;
x_line = tb->display_offset_x;
@ -410,7 +410,7 @@ void text_buf_to_vram(TEXT_CTRL *tc)
lb = lb->next;
}
for( ; line_no <= *tb->num_y ; line_no++ ) {
for( ; line_no < *tb->num_y ; line_no++ ) {
put_char_vram(tc, '\n', (u16)0);
}
}