projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PAINT]
[reactos.git]
/
base
/
applications
/
paint
/
registry.c
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
{
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];
HKEY hDesktop;
TCHAR szStyle[3], szTile[3];
+ SystemParametersInfo(SPI_SETDESKWALLPAPER, 0, (PVOID) FileName, SPIF_UPDATEINIFILE);
+
if ((dwStyle > 2) || (dwTile > 2))
return;
if ((dwStyle > 2) || (dwTile > 2))
return;