From dbd85336889607f18f139e502666b2cb9b9eafce Mon Sep 17 00:00:00 2001 From: Johannes Anderwald Date: Sat, 18 Apr 2009 11:52:09 +0000 Subject: [PATCH] - Fix copyright message - Rob Shearman shell32: Fix incorrect character count passed into RegEnumKeyExW in CreateDesktopEnumList. svn path=/trunk/; revision=40571 --- reactos/dll/win32/shell32/authors.c | 2 +- reactos/dll/win32/shell32/shfldr_desktop.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/dll/win32/shell32/authors.c b/reactos/dll/win32/shell32/authors.c index 61274834d33..f3b1f97df18 100644 --- a/reactos/dll/win32/shell32/authors.c +++ b/reactos/dll/win32/shell32/authors.c @@ -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 }; diff --git a/reactos/dll/win32/shell32/shfldr_desktop.c b/reactos/dll/win32/shell32/shfldr_desktop.c index a3197be3b2b..ce2ed6bae29 100644 --- a/reactos/dll/win32/shell32/shfldr_desktop.c +++ b/reactos/dll/win32/shell32/shfldr_desktop.c @@ -313,7 +313,7 @@ static BOOL CreateDesktopEnumList(IEnumIDList *list, DWORD dwFlags) DWORD size; LONG r; - size = sizeof (iid); + size = sizeof (iid) / sizeof (iid[0]); r = RegEnumKeyExW(hkey, i, iid, &size, 0, NULL, NULL, NULL); if (ERROR_SUCCESS == r) {