[Pkg-wmaker-commits] [wmitime] 04/18: wmgeneral: Bump to 1998-09-14 version found in wmckgmail, wmitime, wmsmp.app, wmSMPmon, and wmtz.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Sat Aug 22 01:36:44 UTC 2015


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

dtorrance-guest pushed a commit to branch upstream
in repository wmitime.

commit 4d3298019ea44c12b2ba1ca6c8a0c0264bc8845a
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Tue May 19 22:30:48 2015 -0500

    wmgeneral: Bump to 1998-09-14 version found in wmckgmail, wmitime, wmsmp.app, wmSMPmon, and wmtz.
    
    Note that wmckgmail and wmtz were identical; this is the version we use.
    wmSMPmon differed only with some whitespace.
    
    wmitime differed only with a bugfix (a segfault when -display is given with
    no argument), but this will be fixed again in the next commit.
    
    wmsm.app had patched wmgeneral to work with its xpm; instead we patch its
    xpm to work with wmgeneral.
---
 wmgeneral/wmgeneral.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/wmgeneral/wmgeneral.c b/wmgeneral/wmgeneral.c
index fb8a8f4..c064b39 100644
--- a/wmgeneral/wmgeneral.c
+++ b/wmgeneral/wmgeneral.c
@@ -385,11 +385,7 @@ void openXwindow(int argc, char *argv[], char *pixmap_bytes[], char *pixmask_bit
 	for (i=1; argv[i]; i++) {
 		if (!strcmp(argv[i], "-display")) {
 			display_name = argv[i+1];
-			if (!display_name)
-				printf("Please provide an argument for "
-				       "-display.\n");
-			else
-				i++;
+			i++;
 		}
 		if (!strcmp(argv[i], "-geometry")) {
 			geometry = argv[i+1];

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



More information about the Pkg-wmaker-commits mailing list