diff --git a/uppsrc/Core/Other.h b/uppsrc/Core/Other.h index 43162c28e..5b3ea9d81 100644 --- a/uppsrc/Core/Other.h +++ b/uppsrc/Core/Other.h @@ -460,7 +460,6 @@ template template bool LRUCache::RemoveOne(P predicate) { - int n = 0; int i = head; if(i >= 0) for(;;) { diff --git a/uppsrc/CtrlCore/CtrlPos.cpp b/uppsrc/CtrlCore/CtrlPos.cpp index e0cce511a..7821c9280 100644 --- a/uppsrc/CtrlCore/CtrlPos.cpp +++ b/uppsrc/CtrlCore/CtrlPos.cpp @@ -133,7 +133,7 @@ Size Ctrl::GetStdSize() const Size Ctrl::GetMaxSize() const { - return GetVirtualWorkArea().Size(); + return GetVirtualScreenArea().Size(); } void Ctrl::SyncLayout(int force)