Skip to content

Commit 82e4518

Browse files
ZXShadyChrisThrasher
authored andcommitted
remove unnecessary boolean comparson != 0
1 parent b886036 commit 82e4518

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CSFML/Audio/Music.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ void sfMusic_destroy(const sfMusic* music)
8383
void sfMusic_setLooping(sfMusic* music, bool loop)
8484
{
8585
assert(music);
86-
music->setLooping(loop != 0);
86+
music->setLooping(loop);
8787
}
8888

8989

0 commit comments

Comments
 (0)