[MSPAINT]

- When setting a file as tiled wallpaper, it will now indeed show up tiled instead of centered.
- All three options (tiled, centered, stretched) are working.  (non-bitmaps only in Vista and above)

CORE-12164 #resolve

svn path=/trunk/; revision=74690
This commit is contained in:
Benedikt Freisen 2017-05-28 17:33:15 +00:00
parent 9386daa570
commit 846f8450db

View file

@ -42,7 +42,7 @@ void RegistrySettings::SetWallpaper(LPCTSTR szFileName, RegistrySettings::Wallpa
{
desktop.SetStringValue(_T("Wallpaper"), szFileName);
desktop.SetStringValue(_T("WallpaperStyle"), (style == RegistrySettings::STRETCHED) ? _T("2") : _T("1"));
desktop.SetStringValue(_T("WallpaperStyle"), (style == RegistrySettings::STRETCHED) ? _T("2") : _T("0"));
desktop.SetStringValue(_T("TileWallpaper"), (style == RegistrySettings::TILED) ? _T("1") : _T("0"));
}