aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/SMFReader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/SMFReader.cpp')
-rw-r--r--src/engine/SMFReader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/SMFReader.cpp b/src/engine/SMFReader.cpp
index 62cdd26..d482eb5 100644
--- a/src/engine/SMFReader.cpp
+++ b/src/engine/SMFReader.cpp
@@ -184,7 +184,7 @@ SMFReader::seek_to_track(unsigned track) throw (std::logic_error)
fseek(_fd, chunk_size, SEEK_CUR);
}
- if (!feof(_fd) && ( track_pos == track) ) {
+ if (!feof(_fd) && track_pos == track) {
_track = track;
_track_size = chunk_size;
return true;
@@ -310,7 +310,7 @@ SMFReader::read_var_len(FILE* fd) throw (PrematureEOF)
uint32_t value;
uint8_t c;
- if ( (value = getc(fd)) & 0x80) {
+ if ((value = getc(fd)) & 0x80) {
value &= 0x7F;
do {
if (feof(fd)) {