Author: tkreuzer
Date: Mon Nov 22 09:55:50 2010
New Revision: 49704
URL:
http://svn.reactos.org/svn/reactos?rev=49704&view=rev
Log:
[PAINT]
Fix syntax
Modified:
branches/cmake-bringup/base/applications/paint/registry.c
Modified: branches/cmake-bringup/base/applications/paint/registry.c
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/base/applications…
==============================================================================
--- branches/cmake-bringup/base/applications/paint/registry.c [iso-8859-1] (original)
+++ branches/cmake-bringup/base/applications/paint/registry.c [iso-8859-1] Mon Nov 22
09:55:50 2010
@@ -16,10 +16,10 @@
void
SetWallpaper(TCHAR * FileName, DWORD dwStyle, DWORD dwTile) //FIXME: Has to be called 2x
to apply the pattern (tiled/stretched) too
{
- SystemParametersInfo(SPI_SETDESKWALLPAPER, 0, (PVOID) FileName, SPIF_UPDATEINIFILE);
-
HKEY hDesktop;
TCHAR szStyle[3], szTile[3];
+
+ SystemParametersInfo(SPI_SETDESKWALLPAPER, 0, (PVOID) FileName, SPIF_UPDATEINIFILE);
if ((dwStyle > 2) || (dwTile > 2))
return;