~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Get preferred and minimum sizes in the right order.
[sgt/putty]
/
mac
/
macctrls.c
diff --git
a/mac/macctrls.c
b/mac/macctrls.c
index
0855e01
..
dec815a
100644
(file)
--- a/
mac/macctrls.c
+++ b/
mac/macctrls.c
@@
-1,4
+1,4
@@
-/* $Id: macctrls.c,v 1.1
4 2003/03/25 23:23:03
ben Exp $ */
+/* $Id: macctrls.c,v 1.1
5 2003/03/25 23:45:56
ben Exp $ */
/*
* Copyright (c) 2003 Ben Harris
* All rights reserved.
/*
* Copyright (c) 2003 Ben Harris
* All rights reserved.
@@
-1114,8
+1114,8
@@
void dlg_listbox_add(union control *ctrl, void *dlg, char const *text)
dlg_macpopup_add(ctrl, dlg, text);
}
dlg_macpopup_add(ctrl, dlg, text);
}
-static void dlg_macpopup_addwithi
ndex
(union control *ctrl, void *dlg,
-
char const *text, int id)
+static void dlg_macpopup_addwithi
d
(union control *ctrl, void *dlg,
+ char const *text, int id)
{
struct macctrls *mcs = dlg;
union macctrl *mc = findbyctrl(mcs, ctrl);
{
struct macctrls *mcs = dlg;
union macctrl *mc = findbyctrl(mcs, ctrl);
@@
-1133,12
+1133,12
@@
static void dlg_macpopup_addwithindex(union control *ctrl, void *dlg,
mc->popup.ids[index] = id;
}
mc->popup.ids[index] = id;
}
-void dlg_listbox_addwithi
ndex
(union control *ctrl, void *dlg,
-
char const *text, int id)
+void dlg_listbox_addwithi
d
(union control *ctrl, void *dlg,
+ char const *text, int id)
{
if (ctrl->listbox.height == 0)
{
if (ctrl->listbox.height == 0)
- dlg_macpopup_addwithi
ndex
(ctrl, dlg, text, id);
+ dlg_macpopup_addwithi
d
(ctrl, dlg, text, id);
}
int dlg_listbox_getid(union control *ctrl, void *dlg, int index)
}
int dlg_listbox_getid(union control *ctrl, void *dlg, int index)