When resizing the window, redraw the grow box as well as the scroll bar.
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Mon, 9 Dec 2002 23:26:52 +0000 (23:26 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
Mon, 9 Dec 2002 23:26:52 +0000 (23:26 +0000)
I wasn't noticing the bug on my system, since the Appearance Manager handles
the grow box itself when it's present.

git-svn-id: svn://svn.tartarus.org/sgt/putty@2299 cda61777-01e9-0310-a592-d414129be87e

mac/macterm.c

index 4be5959..23ac22a 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: macterm.c,v 1.21 2002/12/09 22:49:56 ben Exp $ */
+/* $Id: macterm.c,v 1.22 2002/12/09 23:26:52 ben Exp $ */
 /*
  * Copyright (c) 1999 Simon Tatham
  * Copyright (c) 1999, 2002 Ben Harris
@@ -219,6 +219,7 @@ static void mac_adjustsize(Session *s, int newrows, int newcols) {
     MoveControl(s->scrollbar, winwidth - 15, -1);
     SizeControl(s->scrollbar, 16, winheight - 13);
     ShowControl(s->scrollbar);
+    mac_drawgrowicon(s);
 }
 
 static void mac_initpalette(Session *s) {