Author: janderwald
Date: Sat Apr 18 15:52:09 2009
New Revision: 40571

URL: http://svn.reactos.org/svn/reactos?rev=40571&view=rev
Log:
- Fix copyright message
- Rob Shearman <[email protected]>
shell32: Fix incorrect character count passed into RegEnumKeyExW in 
CreateDesktopEnumList.

Modified:
    trunk/reactos/dll/win32/shell32/authors.c
    trunk/reactos/dll/win32/shell32/shfldr_desktop.c

Modified: trunk/reactos/dll/win32/shell32/authors.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/authors.c?rev=40571&r1=40570&r2=40571&view=diff
==============================================================================
--- trunk/reactos/dll/win32/shell32/authors.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/authors.c [iso-8859-1] Sat Apr 18 15:52:09 
2009
@@ -1,1 +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 };

Modified: trunk/reactos/dll/win32/shell32/shfldr_desktop.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shfldr_desktop.c?rev=40571&r1=40570&r2=40571&view=diff
==============================================================================
--- trunk/reactos/dll/win32/shell32/shfldr_desktop.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/shfldr_desktop.c [iso-8859-1] Sat Apr 18 
15:52:09 2009
@@ -313,7 +313,7 @@
                     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)
                     {

Reply via email to