Skip to content

Commit 668b3e8

Browse files
committed
Simple fix for snippets
The new API accidentaly set the wrong message type for the /buffer/replace-lines message. Fix for BufferType::ReplaceLines Tested with ll<TAB> to insert a live loop.
1 parent a396163 commit 668b3e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/api/src/osc/osc_handler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ void OscHandler::oscMessage(std::vector<char> buffer)
182182
else if (msg->match("/buffer/replace-lines"))
183183
{
184184
BufferInfo info;
185-
info.type = BufferType::Replace;
185+
info.type = BufferType::ReplaceLines;
186186
if (msg->arg().popStr(info.id).popStr(info.content).popInt32(info.startLine).popInt32(info.finishLine).popInt32(info.pointLine).popInt32(info.pointIndex).isOkNoMoreArgs())
187187
{
188188
LOG(DBG, "/buffer/replace-lines: " << info.index);

0 commit comments

Comments
 (0)