summaryrefslogtreecommitdiff
path: root/libs/pbd
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2020-02-20 00:09:32 -0700
committerPaul Davis <paul@linuxaudiosystems.com>2020-02-20 00:09:32 -0700
commitca3714bccf14e44bd24608f84176aa46d910473b (patch)
treed2fcf6f347a75a45c8e2c1052e539fbfd11ff535 /libs/pbd
parentd1b335b36e30020ded4a00cc5ace911ba499965b (diff)
NOOP: fix brace/newline use
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;
}
}