]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - winctrls.c
Rename dlg_listbox_addwithindex() to dlg_listbox_addwithid(), since the old
[PuTTY.git] / winctrls.c
index 771c0a16e8c05fd4ab283145e633f0c01cc1e5e0..87957efe0a961e1aeb86a508781d8cdcaac09afc 100644 (file)
@@ -2179,8 +2179,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.
  */
-void dlg_listbox_addwithindex(union control *ctrl, void *dlg,
-                             char const *text, int id)
+void dlg_listbox_addwithid(union control *ctrl, void *dlg,
+                          char const *text, int id)
 {
     struct dlgparam *dp = (struct dlgparam *)dlg;
     struct winctrl *c = dlg_findbyctrl(dp, ctrl);