mirror of https://github.com/BOINC/boinc.git
MGR: Fix old bug pointed out by Coverity. Fixes CID(s): 38967, 38976
This commit is contained in:
parent
d67c12fb98
commit
9e1194989e
|
@ -142,7 +142,7 @@ void CStatusBar::OnSize(wxSizeEvent& event) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_pbmpDisconnect) {
|
if (m_pbmpDisconnect) {
|
||||||
size = m_pbmpConnected->GetSize();
|
size = m_pbmpDisconnect->GetSize();
|
||||||
m_pbmpDisconnect->Move(rect.x + 1,
|
m_pbmpDisconnect->Move(rect.x + 1,
|
||||||
rect.y + (rect.height - size.y) / 2);
|
rect.y + (rect.height - size.y) / 2);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue