# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1627342764 0 # Node ID 42cacc1a1783c3903f163e99b24106e61b305cfc # Parent d19652f760d7fb0dfb417dd84f2d2d028484ee66 OS/2: Fix a few search and replace errors. diff -r d19652f760d7 -r 42cacc1a1783 os2/dw.c --- a/os2/dw.c Mon Jul 26 23:28:50 2021 +0000 +++ b/os2/dw.c Mon Jul 26 23:39:24 2021 +0000 @@ -3231,7 +3231,7 @@ { NOTIFYRECORDEMPHASIS pre; - dw_tree_dw_item_select(tmp->window, (HTREEITEM)mp2); + dw_tree_item_select(tmp->window, (HTREEITEM)mp2); pre.pRecord = mp2; pre.fEmphasisMask = CRA_CURSORED; pre.hwndCnr = tmp->window; @@ -9290,7 +9290,7 @@ * handle: Handle to the tree window (widget) to be selected. * item: Handle to the item to be selected. */ -void API dw_tree_dw_item_select(HWND handle, HTREEITEM item) +void API dw_tree_item_select(HWND handle, HTREEITEM item) { PRECORDCORE pCore = WinSendMsg(handle, CM_QUERYRECORD, (MPARAM)0L, MPFROM2SHORT(CMA_FIRST, CMA_ITEMORDER)); @@ -10058,7 +10058,7 @@ */ void API dw_container_set_row_title(void *pointer, int row, const char *title) { - DWContainerInfo *ci = DWContainerInfo *)pointer; + DWContainerInfo *ci = (DWContainerInfo *)pointer; PRECORDCORE temp; int z, currentcount; CNRINFO cnr; @@ -12319,7 +12319,7 @@ * window: Window (widget) to look for the ENTER press. * next: Window (widget) to move to next (or click) */ -void API dw_window_dw_click_default(HWND window, HWND next) +void API dw_window_click_default(HWND window, HWND next) { WindowData *blah = (WindowData *)WinQueryWindowPtr(window, QWP_USER);