Author: bfreisen
Date: Sun May 28 17:33:15 2017
New Revision: 74690

URL: http://svn.reactos.org/svn/reactos?rev=74690&view=rev
Log:
[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

Modified:
    trunk/reactos/base/applications/mspaint/registry.cpp

Modified: trunk/reactos/base/applications/mspaint/registry.cpp
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/registry.cpp?rev=74690&r1=74689&r2=74690&view=diff
==============================================================================
--- trunk/reactos/base/applications/mspaint/registry.cpp        [iso-8859-1] 
(original)
+++ trunk/reactos/base/applications/mspaint/registry.cpp        [iso-8859-1] 
Sun May 28 17:33:15 2017
@@ -42,7 +42,7 @@
     {
         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"));
     }
 


Reply via email to