From aca32f88f97198f6e9ccc6286e46c62b6ed7137c Mon Sep 17 00:00:00 2001 From: falkTX Date: Mon, 25 Aug 2014 22:43:33 +0100 Subject: [PATCH] Fix incomplete atoms sent to UI bridges, closes #131 --- source/backend/plugin/Lv2Plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/backend/plugin/Lv2Plugin.cpp b/source/backend/plugin/Lv2Plugin.cpp index e7fd43fa8..37e9478d7 100644 --- a/source/backend/plugin/Lv2Plugin.cpp +++ b/source/backend/plugin/Lv2Plugin.cpp @@ -1329,7 +1329,7 @@ public: { if (pData->osc.data.target != nullptr) { - CarlaString chunk(CarlaString::asBase64(atom, atom->size)); + CarlaString chunk(CarlaString::asBase64(atom, sizeof(LV2_Atom)+atom->size)); osc_send_lv2_atom_transfer(pData->osc.data, portIndex, chunk.buffer()); } }