[PATCH 7/7] regedit: Do not get text for items with an index less than one
Alexandre Julliard
julliard at winehq.org
Tue May 30 14:23:15 CDT 2017
Hugh McMaster <hugh.mcmaster at outlook.com> writes:
> @@ -59,7 +59,7 @@ LPWSTR GetItemText(HWND hwndLV, UINT item)
> {
> LPWSTR newStr, curStr;
> unsigned int maxLen = 128;
> - if (item == 0) return NULL; /* first item is ALWAYS a default */
> + if (item < 1) return NULL; /* first item is ALWAYS a default */
How is this different?
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list