[Pkg-wmaker-commits] [wmifs] 90/118: wmifs: Don't ignore geometry strings beginning with '-'.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Thu Aug 27 02:37:55 UTC 2015


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

dtorrance-guest pushed a commit to branch master
in repository wmifs.

commit b8d7d1cb3a437cd2f39cdfced7f1cbe60eacf09d
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Wed May 27 17:33:24 2015 -0500

    wmifs: Don't ignore geometry strings beginning with '-'.
---
 wmifs.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/wmifs.c b/wmifs.c
index 0f25456..07097f2 100644
--- a/wmifs.c
+++ b/wmifs.c
@@ -348,8 +348,10 @@ int main(int argc, char *argv[])
 				WaveForm = 1;
 				break;
 			default:
-				usage();
-				exit(0);
+				if (strcmp(argv[i-1], "-geometry")) {
+					usage();
+					exit(0);
+				}
 				break;
 			}
 		}

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



More information about the Pkg-wmaker-commits mailing list