CtrlCore: GetMaxSize fixed to better support multiple monitors

git-svn-id: svn://ultimatepp.org/upp/trunk@5499 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2012-10-30 17:37:36 +00:00
parent 550233625c
commit 09918a6f5d
2 changed files with 1 additions and 2 deletions

View file

@ -460,7 +460,6 @@ template <class T, class K>
template <class P>
bool LRUCache<T, K>::RemoveOne(P predicate)
{
int n = 0;
int i = head;
if(i >= 0)
for(;;) {

View file

@ -133,7 +133,7 @@ Size Ctrl::GetStdSize() const
Size Ctrl::GetMaxSize() const
{
return GetVirtualWorkArea().Size();
return GetVirtualScreenArea().Size();
}
void Ctrl::SyncLayout(int force)