diff options
Diffstat (limited to 'ui')
-rw-r--r-- | ui/gtk.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1784,7 +1784,9 @@ static void gd_vc_chr_accept_input(Chardev *chr) VCChardev *vcd = VC_CHARDEV(chr); VirtualConsole *vc = vcd->console; - gd_vc_send_chars(vc); + if (vc) { + gd_vc_send_chars(vc); + } } static void gd_vc_chr_set_echo(Chardev *chr, bool echo) |