(bubbles--initialize-images): Fix bug:
authorThien-Thi Nguyen <ttn@gnuvola.org>
Thu, 13 Sep 2007 14:09:42 +0000 (14:09 +0000)
committerThien-Thi Nguyen <ttn@gnuvola.org>
Thu, 13 Sep 2007 14:09:42 +0000 (14:09 +0000)
Use transparent background for empty cells in graphics mode.

lisp/ChangeLog
lisp/play/bubbles.el

index 477723c..797aa8c 100644 (file)
@@ -1,3 +1,8 @@
+2007-09-13  Sascha Wilde  <wilde@sha-bang.de>  (tiny change)
+
+       * play/bubbles.el (bubbles--initialize-images): Fix bug:
+       Use transparent background for empty cells in graphics mode.
+
 2007-09-13  Jari Aalto  <jari.aalto@cante.net>
 
        * man.el (Man-default-man-entry): At end of line, continue looking
index 133c6ef..00cb6e0 100644 (file)
@@ -1323,7 +1323,7 @@ Return t if new char is non-empty."
       (setq bubbles--empty-image
             (create-image (replace-regexp-in-string
                            "^\"\\(.*\\)\t.*c .*\",$"
-                           "\"\\1\tc #FFFFFF\"," template)
+                           "\"\\1\tc None\"," template)
                           'xpm t
                           ;;:mask 'heuristic
                           :margin '(2 . 1)))