Skip to content

Commit

Permalink
29-1
Browse files Browse the repository at this point in the history
  • Loading branch information
kowill committed Sep 10, 2019
1 parent 0e1a294 commit fc92d28
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions 29_day/window.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,18 @@ void make_wtitle8(unsigned char *buf, int xsize, char *title, char act)

void putfonts8_asc_sht(struct SHEET *sht, int x, int y, int c, int b, char *s, int l)
{
struct TASK *task = task_now();
boxfill8(sht->buf, sht->bxsize, b, x, y, x + l * 8 - 1, y + 15);
putfonts8_asc(sht->buf, sht->bxsize, x, y, c, s);
sheet_refresh(sht, x, y, x + l * 8, y + 16);
if (task->langmode != 0 && task->langbyte1 != 0)
{
putfonts8_asc(sht->buf, sht->bxsize, x, y, c, s);
sheet_refresh(sht, x - 8, y, x + l * 8, y + 16);
}
else
{
putfonts8_asc(sht->buf, sht->bxsize, x, y, c, s);
sheet_refresh(sht, x, y, x + l * 8, y + 16);
}
return;
}

Expand Down

0 comments on commit fc92d28

Please sign in to comment.