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:
cxl 2015-08-07 13:32:03 +00:00
parent 2604a04ee2
commit b17c3c7d47

View file

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