gtk: initialize zoom_to_fit
PATCH 1/1 gtk: initialize zoom_to_fit
Fixes CID 1395988
Signed-off-by Gerd Hoffmann <[email protected]>
--- ui/gtk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
ui/gtk.c +1 -1
@@ -2136,7 +2136,7 @@ static GSList *gd_vc_gfx_init(GtkDisplayState *s, VirtualConsole *vc, QemuConsole *con, int idx, GSList *group, GtkWidget *view_menu) { - bool zoom_to_fit; + bool zoom_to_fit = false; vc->label =qemu_console_get_label (con); vc->s = s;
Signature · 1 line
2.9.3
Hi
Quoted 3 lines · Gerd Hoffmann
Fixes CID 1395988Signed-off-by Gerd Hoffmann <[email protected]>
Same patch sent by Paolo yesterday:
https://lists.nongnu.org/archive/html/qemu-devel/2018-10/msg00474.html
Quoted 21 lines
--- ui/gtk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)ui/gtk.c +1
-2@@ -2136,7 +2136,7 @@ static GSList *gd_vc_gfx_init(GtkDisplayState *s, VirtualConsole *vc, QemuConsole *con, int idx, GSList *group, GtkWidget *view_menu) { - bool zoom_to_fit; + bool zoom_to_fit = false; vc->label =qemu_console_get_label (con); vc->s = s; --2.9.3
Signature · 1 line
Marc-André Lureau