mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Fixed !SetWallpaper issue
http://rainmeter.net/forum/viewtopic.php?f=14&t=16018
This commit is contained in:
parent
ca787306b5
commit
3104a53107
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user