Module: wine Branch: master Commit: 4389066754358a0f615218ace74017e54804b8fe URL: http://source.winehq.org/git/wine.git/?a=commit;h=4389066754358a0f615218ace7...
Author: Lei Zhang thestig@google.com Date: Thu Oct 2 01:30:22 2008 -0700
regedit: Use W version of TreeView_GetItem.
---
programs/regedit/treeview.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/programs/regedit/treeview.c b/programs/regedit/treeview.c index d028b4a..6153a70 100644 --- a/programs/regedit/treeview.c +++ b/programs/regedit/treeview.c @@ -57,7 +57,7 @@ static BOOL get_item_path(HWND hwndTV, HTREEITEM hItem, HKEY* phKey, LPWSTR* pKe
item.mask = TVIF_PARAM; item.hItem = hItem; - if (!TreeView_GetItem(hwndTV, &item)) return FALSE; + if (!TreeView_GetItemW(hwndTV, &item)) return FALSE;
if (item.lParam) { /* found root key with valid key value */ @@ -216,7 +216,7 @@ static BOOL match_item(HWND hwndTV, HTREEITEM hItem, LPCWSTR sstring, int mode, item.hItem = hItem; item.pszText = keyname; item.cchTextMax = KEY_MAX_LEN; - if (!TreeView_GetItem(hwndTV, &item)) return FALSE; + if (!TreeView_GetItemW(hwndTV, &item)) return FALSE; if ((mode & SEARCH_KEYS) && match_string(keyname, sstring, mode)) { *row = -1; return TRUE;