summaryrefslogtreecommitdiff
path: root/libs/pbd
diff options
context:
space:
mode:
Diffstat (limited to 'libs/pbd')
-rw-r--r--libs/pbd/pbd/playback_buffer.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/libs/pbd/pbd/playback_buffer.h b/libs/pbd/pbd/playback_buffer.h
index d41f7420b6..4b0b900217 100644
--- a/libs/pbd/pbd/playback_buffer.h
+++ b/libs/pbd/pbd/playback_buffer.h
@@ -161,11 +161,9 @@ public:
bool can_seek (int64_t cnt) {
if (cnt > 0) {
return read_space() >= cnt;
- }
- else if (cnt < 0) {
+ } else if (cnt < 0) {
return g_atomic_int_get (&reserved) >= -cnt;
- }
- else {
+ } else {
return true;
}
}