~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename dlg_listbox_addwithindex() to dlg_listbox_addwithid(), since the old
[sgt/putty]
/
unix
/
gtkdlg.c
diff --git
a/unix/gtkdlg.c
b/unix/gtkdlg.c
index
6745ba0
..
8a84395
100644
(file)
--- a/
unix/gtkdlg.c
+++ b/
unix/gtkdlg.c
@@
-323,7
+323,7
@@
void dlg_listbox_del(union control *ctrl, void *dlg, int index)
void dlg_listbox_add(union control *ctrl, void *dlg, char const *text)
{
void dlg_listbox_add(union control *ctrl, void *dlg, char const *text)
{
- dlg_listbox_addwithi
ndex
(ctrl, dlg, text, 0);
+ dlg_listbox_addwithi
d
(ctrl, dlg, text, 0);
}
/*
}
/*
@@
-333,8
+333,8
@@
void dlg_listbox_add(union control *ctrl, void *dlg, char const *text)
* strings in any listbox then you MUST not assign them different
* IDs and expect to get meaningful results back.
*/
* strings in any listbox then you MUST not assign them different
* IDs and expect to get meaningful results back.
*/
-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)
{
struct dlgparam *dp = (struct dlgparam *)dlg;
struct uctrl *uc = dlg_find_byctrl(dp, ctrl);
{
struct dlgparam *dp = (struct dlgparam *)dlg;
struct uctrl *uc = dlg_find_byctrl(dp, ctrl);