Fix syntax

svn path=/branches/cmake-bringup/; revision=49704
This commit is contained in:
Timo Kreuzer 2010-11-22 09:55:50 +00:00
parent 0f10cf2e2a
commit 07359cbdc3

View file

@ -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;