mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
Turn loops into range-based form
and some things suggested by cppcheck and compiler warnings.
This commit is contained in:
parent
2ff794d299
commit
404624bf0b
52 changed files with 199 additions and 230 deletions
|
@ -277,7 +277,7 @@ void CLogWindow::OnLogTimer(wxTimerEvent& WXUNUSED(event))
|
|||
|
||||
UpdateLog();
|
||||
// Scroll to the last line
|
||||
if (msgQueue.size() > 0)
|
||||
if (!msgQueue.empty())
|
||||
{
|
||||
m_Log->ScrollLines(1);
|
||||
m_Log->ShowPosition( m_Log->GetLastPosition() );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue