mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48:00 +00:00
Correct the size of editboxes under Mac OS 8.
[originally from svn r3027]
This commit is contained in:
parent
82502df284
commit
38e6887ad1
@ -1,4 +1,4 @@
|
||||
/* $Id: macctrls.c,v 1.22 2003/03/30 00:45:00 ben Exp $ */
|
||||
/* $Id: macctrls.c,v 1.23 2003/03/30 14:24:20 ben Exp $ */
|
||||
/*
|
||||
* Copyright (c) 2003 Ben Harris
|
||||
* All rights reserved.
|
||||
@ -459,7 +459,7 @@ static void macctrl_editbox(struct macctrls *mcs, WindowPtr window,
|
||||
SetControlData(mc->editbox.tblabel, kControlEntireControl,
|
||||
kControlStaticTextTextTag,
|
||||
strlen(ctrl->editbox.label), ctrl->editbox.label);
|
||||
InsetRect(&bounds, 2, 2);
|
||||
InsetRect(&bounds, 3, 3);
|
||||
mc->editbox.tbctrl = NewControl(window, &bounds, NULL, TRUE, 0, 0, 0,
|
||||
ctrl->editbox.password ?
|
||||
kControlEditTextPasswordProc :
|
||||
|
Loading…
Reference in New Issue
Block a user