mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
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:
parent
550233625c
commit
09918a6f5d
2 changed files with 1 additions and 2 deletions
|
|
@ -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(;;) {
|
||||
|
|
|
|||
|
|
@ -133,7 +133,7 @@ Size Ctrl::GetStdSize() const
|
|||
|
||||
Size Ctrl::GetMaxSize() const
|
||||
{
|
||||
return GetVirtualWorkArea().Size();
|
||||
return GetVirtualScreenArea().Size();
|
||||
}
|
||||
|
||||
void Ctrl::SyncLayout(int force)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue