X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/599ede468a30006896db7a380d079a122bf6b4a1..d36f85ac8a90812e16319d7d86fdbbff40aeae92:/mac/macctrls.c diff --git a/mac/macctrls.c b/mac/macctrls.c index d49d6e6e..55614531 100644 --- a/mac/macctrls.c +++ b/mac/macctrls.c @@ -1,4 +1,4 @@ -/* $Id: macctrls.c,v 1.42 2003/05/10 20:51:39 ben Exp $ */ +/* $Id$ */ /* * Copyright (c) 2003 Ben Harris * All rights reserved. @@ -248,6 +248,7 @@ void macctrl_layoutbox(struct controlbox *cb, WindowPtr window, mcs->focus = NULL; mcs->defbutton = NULL; mcs->canbutton = NULL; + mcs->curpanel = 1; /* Count the number of panels */ mcs->npanels = 1; for (i = 1; i < cb->nctrlsets; i++)