gtk: fix uninitialized temporary VirtualConsole
commit327d83ba717c879f5640b41c15af3ce56a7922eb
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 9 Feb 2016 10:59:16 +0000 (9 11:59 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 22 Feb 2016 07:38:42 +0000 (22 08:38 +0100)
treee6367b30131d642ff48b4ba6a38d1f2cea2bcfbf
parentc3bce9d5f986bc22b0692a8fa9d26ce6d304375c
gtk: fix uninitialized temporary VirtualConsole

Only the echo field is used in the temporary VirtualConsole, so the
damage was limited.  But still, if echo was incorrectly set to true,
the result would be some puzzling output in VTE monitor and serial
consoles.

Fixes: fba958c692e47a373d15c1fd3d72b255bf76adbd
Cc: Gerd Hoffmann <kraxel@redhat.com>
Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1455015557-15106-2-git-send-email-pbonzini@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/gtk.c