summarylogtreecommitdiffstats
path: root/cjktty-11-patch-for-5.4.62+.patch
blob: 3336cba142de90a667ead6c9c6533c36775cd8b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- cjktty-10-fix-255-glyph-limit-prepare-for-CJK-font-support.patch	2020-09-05 10:35:09.000000000 +0800
+++ cjktty-10-fix-255-glyph-limit-prepare-for-CJK-font-support-5.4.62.patch	2020-09-05 20:41:19.000000000 +0800
@@ -169,7 +169,7 @@
 + 		scr_memsetw((void *)new_origin + (new_screen_size), vc->vc_video_erase_char,
 + 			    new_scr_end - new_origin);
 +	}
- 	kfree(vc->vc_screenbuf);
+ 	oldscreen = vc->vc_screenbuf;
  	vc->vc_screenbuf = newscreen;
  	vc->vc_screenbuf_size = new_screen_size;
 @@ -2601,6 +2635,8 @@ static int do_con_write(struct tty_struct *tty, const unsigned char *buf, int co