Commit Diff


commit - 917d79a766c47414055c6901624816a41f13597b
commit + 76364b2d0d2a4cbd30e348da2a4330a2137ee86e
blob - 3d04465936bab47783593c3f81f0057e2ec865bc
blob + a0eb6888febf2682be968a5bf8356432f985c690
--- tog/tog.c
+++ tog/tog.c
@@ -2885,6 +2885,9 @@ view_get_split(struct tog_view *view, int *y, int *x)
 {
 	char *mode;
 
+	*x = 0;
+	*y = 0;
+
 	mode = getenv("TOG_VIEW_SPLIT_MODE");
 
 	if (!mode || mode[0] != 'h') {