Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/SynthLab
diff options
context:
space:
mode:
Diffstat (limited to 'SynthLab')
-rw-r--r--SynthLab/SynthLabWindow.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/SynthLab/SynthLabWindow.py b/SynthLab/SynthLabWindow.py
index 66ba2a0..79a4b32 100644
--- a/SynthLab/SynthLabWindow.py
+++ b/SynthLab/SynthLabWindow.py
@@ -1217,7 +1217,10 @@ class SynthLabWindow(SubActivity):
bitmap += "%c" % byte
byte = 0
shift = 0
- bitmap += "%c" % byte
+ if shift > 0:
+ bitmap += "%c" % byte
+ byte = 0
+ shift = 0
self.clipMask = gtk.gdk.bitmap_create_from_data( None, bitmap, pix.get_width(), pix.get_height() )
def handleSave(self, widget, data):