emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PATCH: bubbles.el, correct background for empty cells


From: Sascha Wilde
Subject: PATCH: bubbles.el, correct background for empty cells
Date: Thu, 13 Sep 2007 15:49:30 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux)

Hi,

Empty cells in the graphic mode of bubble.el are always white, which
of cause is only correct for a white background.

I attached a small patch, which fixes that.

diff -r 70bcad34282a lisp/play/bubbles.el
--- a/lisp/play/bubbles.el      Tue Sep 11 09:30:57 2007 +0200
+++ b/lisp/play/bubbles.el      Thu Sep 13 15:42:19 2007 +0200
@@ -921,6 +921,7 @@ static char * dot3d_xpm[] = {
   (run-hooks 'bubbles-mode-hook))
 
 ;;;###autoload
+
 (defun bubbles ()
   "Play Bubbles game."
   (interactive)
@@ -1323,7 +1324,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)))

-- 
Sascha Wilde
Life's too short to read boring signatures

reply via email to

[Prev in Thread] Current Thread [Next in Thread]