From a0872caf0097908464f3ef3a6a5e3635296b95e8 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 20 Aug 2008 00:35:30 +0000 Subject: Fix Blob atom copy contruction/size/etc stuff. Fix LV2 UI events (i.e. make klaviatur work again). git-svn-id: http://svn.drobilla.net/lad/ingen@1452 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/EventBuffer.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/libs/engine') diff --git a/src/libs/engine/EventBuffer.cpp b/src/libs/engine/EventBuffer.cpp index 73722ee9..e8584597 100644 --- a/src/libs/engine/EventBuffer.cpp +++ b/src/libs/engine/EventBuffer.cpp @@ -181,7 +181,7 @@ EventBuffer::append(uint32_t frames, /*cout << "Appending event type " << type << ", size " << size << " @ " << frames << "." << subframes << endl;*/ - bool ret = lv2_event_write(&_iter, frames, subframes, type, size, data); + const bool ret = lv2_event_write(&_iter, frames, subframes, type, size, data); if (!ret) cerr << "ERROR: Failed to write event." << endl; @@ -219,7 +219,6 @@ EventBuffer::append(const LV2_Event_Buffer* buf) if (!(ret = append(ev->frames, ev->subframes, ev->type, ev->size, *data))) { cerr << "ERROR: Failed to write event." << endl; break; - } else { } _latest_frames = ev->frames; -- cgit v1.2.1