From 1e4d2ea313b202189be1ae3a03343bdef7fc9c7c Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 12 Oct 2016 09:10:11 +0200 Subject: [PATCH] osc: fix fallback typetag ('s' instead of 'string) --- CHANGELOG.md | 3 ++- app/main/osc.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2a4c7823..0655d21d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,10 @@ # Changelog -## next +## 0.8.2 - bug - avoid crash when sending osc with incorrect typetags + - fixed fallback typetag ('s') ## 0.8.1 diff --git a/app/main/osc.js b/app/main/osc.js index 96a14971..49da96e3 100644 --- a/app/main/osc.js +++ b/app/main/osc.js @@ -49,7 +49,7 @@ var parseArg = function(arg,precision){ case 'object': return {type: parseType(arg.type), value: arg.value} default: - return {type: 'string', value:String(arg)} + return {type: 's', value:String(arg)} } }