From 846f8450db9a1ac5459c7a2230a45dfdc4966b13 Mon Sep 17 00:00:00 2001 From: Benedikt Freisen Date: Sun, 28 May 2017 17:33:15 +0000 Subject: [PATCH 1/1] [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 --- reactos/base/applications/mspaint/registry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/base/applications/mspaint/registry.cpp b/reactos/base/applications/mspaint/registry.cpp index 041d8ae8a16..e2955302d98 100644 --- a/reactos/base/applications/mspaint/registry.cpp +++ b/reactos/base/applications/mspaint/registry.cpp @@ -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")); } -- 2.17.1