shithub: puzzles

Download patch

ref: 17214d1764f9037ac7c7b3c05c87209345957b15
parent: 72c581a9598c6e88f2504e56f26c84ae7ff7d544
author: Simon Tatham <anakin@pobox.com>
date: Tue May 4 04:28:47 EDT 2004

Uninitialised variable caused ultra-wide windows. Silly.

[originally from svn r4195]

--- a/gtk.c
+++ b/gtk.c
@@ -869,7 +869,7 @@
 #if 0
 	/* For GTK 2.0, should we be using gtk_widget_set_size_request? */
 #endif
-	gtk_widget_set_usize(viewport, x, req.height);
+	gtk_widget_set_usize(viewport, -1, req.height);
     } else
 	fe->statusbar = NULL;