Skip to content

Commit

Permalink
[cosmetic] put statement of single line if to new line
Browse files Browse the repository at this point in the history
  • Loading branch information
xhaggi committed Mar 23, 2015
1 parent 19bc934 commit 309aa6f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions xbmc/utils/SeekHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,10 @@ void CSeekHandler::Seek(bool forward, float amount, float duration /* = 0 */, bo
}
}

if (m_percent > 100.0f) m_percent = 100.0f;
if (m_percent < 0.0f) m_percent = 0.0f;
if (m_percent > 100.0f)
m_percent = 100.0f;
if (m_percent < 0.0f)
m_percent = 0.0f;
}

m_timer.StartZero();
Expand Down

0 comments on commit 309aa6f

Please sign in to comment.