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 b4da3d3..0bf823e 100644
--- a/SynthLab/SynthLabWindow.py
+++ b/SynthLab/SynthLabWindow.py
@@ -1221,7 +1221,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):