[Pkg-wmaker-commits] [wmbiff] 21/84: make the background black when using fonts

Doug Torrance dtorrance-guest at moszumanska.debian.org
Thu Aug 20 03:01:49 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to tag wmbiff_0_4_10
in repository wmbiff.

commit 9811787d1625bcb36ca7a5d904c66fc0f0c39948
Author: bluehal <bluehal>
Date:   Sat Jun 8 22:20:30 2002 +0000

    make the background black when using fonts
---
 wmbiff/wmbiff.c | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/wmbiff/wmbiff.c b/wmbiff/wmbiff.c
index 194e8cf..29e3a7e 100644
--- a/wmbiff/wmbiff.c
+++ b/wmbiff/wmbiff.c
@@ -1,4 +1,4 @@
-/* $Id: wmbiff.c,v 1.28 2002/06/08 22:13:06 bluehal Exp $ */
+/* $Id: wmbiff.c,v 1.29 2002/06/08 22:20:30 bluehal Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include <config.h>
@@ -307,10 +307,14 @@ void do_biff(int argc, char **argv)
 	openXwindow(argc, argv, skin_xpm, wmbiff_mask_bits,
 				wmbiff_mask_width, wmbiff_mask_height);
 
-	if (font != NULL && loadFont(font) < 0) {
-		DMA(DEBUG_ERROR, "unable to load font. exiting.\n");
-		exit(EXIT_FAILURE);
-	}
+	if (font != NULL) {
+        if(loadFont(font) < 0) {
+            DMA(DEBUG_ERROR, "unable to load font. exiting.\n");
+            exit(EXIT_FAILURE);
+        }
+        /* make the whole background black */
+        eraseRect(5,5,58,58);
+    }
 
 	/* Initially read mail counters and resets,
 	   and initially draw labels and counters */

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmbiff.git



More information about the Pkg-wmaker-commits mailing list