aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-10-03 15:34:24 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-10-03 15:34:24 +0200
commitd982412a34cf4e672da6ee89edf2728a646f5f6b (patch)
treea45156489612f88383a10de7f2ddc9a6ec86add5
parent20001cbed6f01461a936ce00e6da51ca1aa4c926 (diff)
downloadosc-graphics-d982412a34cf4e672da6ee89edf2728a646f5f6b.tar.gz
fixed OSCGraphicsText
-rw-r--r--chuck/OSCGraphicsText.ck6
1 files changed, 3 insertions, 3 deletions
diff --git a/chuck/OSCGraphicsText.ck b/chuck/OSCGraphicsText.ck
index 59f12ea..58377be 100644
--- a/chuck/OSCGraphicsText.ck
+++ b/chuck/OSCGraphicsText.ck
@@ -54,11 +54,11 @@ public class OSCGraphicsText extends OSCGraphicsLayer {
string style;
if (flags & STYLE_BOLD)
- style +=> "b";
+ "b" +=> style;
if (flags & STYLE_ITALIC)
- style +=> "i";
+ "i" +=> style;
if (flags & STYLE_UNDERLINE)
- style +=> "u";
+ "u" +=> style;
osc_send.startMsg("/layer/"+name+"/style", "s");
style => osc_send.addString;