projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f10cf2
)
[PAINT]
author
Timo Kreuzer
<timo.kreuzer@reactos.org>
Mon, 22 Nov 2010 09:55:50 +0000
(09:55 +0000)
committer
Timo Kreuzer
<timo.kreuzer@reactos.org>
Mon, 22 Nov 2010 09:55:50 +0000
(09:55 +0000)
Fix syntax
svn path=/branches/cmake-bringup/; revision=49704
base/applications/paint/registry.c
patch
|
blob
|
history
diff --git
a/base/applications/paint/registry.c
b/base/applications/paint/registry.c
index
392fc08
..
6f4e8e5
100644
(file)
--- a/
base/applications/paint/registry.c
+++ b/
base/applications/paint/registry.c
@@
-16,11
+16,11
@@
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;