mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-16 14:22:55 -06:00
ide: fixed to compile
This commit is contained in:
parent
6a86f2ac03
commit
77ca349de6
1 changed files with 1 additions and 1 deletions
|
|
@ -451,7 +451,7 @@ void IconDes::SaveUndo()
|
|||
return;
|
||||
Slot& c = Current();
|
||||
Vector<ImageIml> undo = UnpackImlData(c.undo);
|
||||
int maxn = minmax((single_mode ? 4000000 : 400000) / max(c.image.GetLength(), 1), 4, 128);
|
||||
int maxn = minmax((single_mode ? 4000000 : 400000) / max((int)c.image.GetLength(), 1), 4, 128);
|
||||
while(undo.GetCount() > maxn)
|
||||
undo.Remove(0);
|
||||
if(undo.GetCount() && undo.Top().image == c.image)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue