mirror of
https://github.com/reactos/reactos.git
synced 2025-01-06 06:20:13 +00:00
[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:
parent
9386daa570
commit
846f8450db
1 changed files with 1 additions and 1 deletions
|
@ -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"));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue