[DESK.CPL]: Use "WallPaperDir" for the value name of the wallpaper directory (compati...
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sat, 13 Feb 2016 00:32:34 +0000 (00:32 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sat, 13 Feb 2016 00:32:34 +0000 (00:32 +0000)
svn path=/trunk/; revision=70724

reactos/dll/cpl/desk/background.c

index 2780200..0c143c2 100644 (file)
@@ -432,7 +432,7 @@ AddListViewItems(HWND hwndDlg, PDATA pData)
     }
 
     /* Add all the images in the wallpaper directory. */
     }
 
     /* Add all the images in the wallpaper directory. */
-    if (SHRegGetPath(HKEY_LOCAL_MACHINE, TEXT("SOFTWARE\\Microsoft\\Windows\\CurrentVersion"), TEXT("WallpaperDir"), szSearchPath, 0) == ERROR_SUCCESS)
+    if (SHRegGetPath(HKEY_LOCAL_MACHINE, TEXT("SOFTWARE\\Microsoft\\Windows\\CurrentVersion"), TEXT("WallPaperDir"), szSearchPath, 0) == ERROR_SUCCESS)
     {
         i = AddWallpapersFromDirectory(i, hwndBackgroundList, backgroundItem, pData, wallpaperFilename, szSearchPath);
     }
     {
         i = AddWallpapersFromDirectory(i, hwndBackgroundList, backgroundItem, pData, wallpaperFilename, szSearchPath);
     }