Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tasprites.py
diff options
context:
space:
mode:
Diffstat (limited to 'tasprites.py')
-rw-r--r--tasprites.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tasprites.py b/tasprites.py
index 08c5f83..7ed477f 100644
--- a/tasprites.py
+++ b/tasprites.py
@@ -90,7 +90,8 @@ def hide(spr):
spr.tw.sprites.remove(spr)
def setlabel(spr,label):
- spr.label = label
+ # pango abhors nulls in strings
+ spr.label = label.replace("\x00","")
inval(spr)
def inval(spr):