- Fix copyright message

- Rob Shearman <rob@codeweavers.com>
shell32: Fix incorrect character count passed into RegEnumKeyExW in CreateDesktopEnumList.

svn path=/trunk/; revision=40571
This commit is contained in:
Johannes Anderwald 2009-04-18 11:52:09 +00:00
parent 2bd49fef81
commit dbd8533688
2 changed files with 2 additions and 2 deletions

View file

@ -1 +1 @@
const char * const SHELL_Authors[] = { "Copyright 1993-2007 WINE team", "Copyright 1998-2007 ReactOS Team", 0 }; const char * const SHELL_Authors[] = { "Copyright 1993-2009 WINE team", "Copyright 1998-2009 ReactOS Team", 0 };

View file

@ -313,7 +313,7 @@ static BOOL CreateDesktopEnumList(IEnumIDList *list, DWORD dwFlags)
DWORD size; DWORD size;
LONG r; LONG r;
size = sizeof (iid); size = sizeof (iid) / sizeof (iid[0]);
r = RegEnumKeyExW(hkey, i, iid, &size, 0, NULL, NULL, NULL); r = RegEnumKeyExW(hkey, i, iid, &size, 0, NULL, NULL, NULL);
if (ERROR_SUCCESS == r) if (ERROR_SUCCESS == r)
{ {