mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
ide: Fixed to compile with GCC
git-svn-id: svn://ultimatepp.org/upp/trunk@8796 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
2604a04ee2
commit
b17c3c7d47
1 changed files with 1 additions and 1 deletions
|
|
@ -120,7 +120,7 @@ void IconDes::ImageInsert(const String& name, const Image& m, bool exp)
|
|||
|
||||
void SetRes(Image& m, int resolution)
|
||||
{
|
||||
ImageBuffer ib = m;
|
||||
ImageBuffer ib(m);
|
||||
ib.SetResolution(decode(resolution, 0, IMAGE_RESOLUTION_STANDARD, 1, IMAGE_RESOLUTION_UHD, IMAGE_RESOLUTION_NONE));
|
||||
m = ib;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue