Fixed !SetWallpaper issue

http://rainmeter.net/forum/viewtopic.php?f=14&t=16018
This commit is contained in:
spx 2013-07-10 23:00:27 +09:00
parent ca787306b5
commit 3104a53107

View File

@ -1206,6 +1206,8 @@ void System::SetWallpaper(const std::wstring& wallpaper, const std::wstring& sty
SystemParametersInfo(SPI_SETDESKWALLPAPER, 0, (void*)file.c_str(), SPIF_UPDATEINIFILE); SystemParametersInfo(SPI_SETDESKWALLPAPER, 0, (void*)file.c_str(), SPIF_UPDATEINIFILE);
} }
} }
delete bitmap;
} }
} }