mirror of
https://github.com/rvtr/TwlToolsRED.git
synced 2025-10-31 06:41:18 -04:00
なぜか一行分多く画面に出力されて表示が壊れていたので修正
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlToolsRED@13 7061adef-622a-194b-ae81-725974e89856
This commit is contained in:
parent
874c43657e
commit
1129eeb150
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user