Style: Apply clang-tidy's readability-braces-around-statements
This commit is contained in:
parent
9bbe51dc27
commit
d83761ba80
32 changed files with 308 additions and 165 deletions
|
|
@ -99,8 +99,9 @@ float AudioStreamPlaybackMP3::get_playback_position() const {
|
|||
}
|
||||
|
||||
void AudioStreamPlaybackMP3::seek(float p_time) {
|
||||
if (!active)
|
||||
if (!active) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (p_time >= mp3_stream->get_length()) {
|
||||
p_time = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue