display 2 lines for long files.

This commit is contained in:
sorgelig
2020-05-11 15:40:18 +08:00
parent 19b3e04b05
commit e118e4f3cb
7 changed files with 56 additions and 11 deletions

View File

@@ -255,6 +255,8 @@ void OsdWriteOffset(unsigned char n, const char *s, unsigned char invert, unsign
if (n == (osd_size-1) && (arrow & OSD_ARROW_RIGHT))
linelimit -= 22;
if (n && n < OsdGetSize() - 1) leftchar = 0;
if (stipple) {
stipplemask = 0x55;
stipple = 0xff;