aboutsummaryrefslogtreecommitdiffstats
path: root/apps/sympathy.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/sympathy.c')
-rw-r--r--apps/sympathy.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/apps/sympathy.c b/apps/sympathy.c
index 94cd801..c14b8ec 100644
--- a/apps/sympathy.c
+++ b/apps/sympathy.c
@@ -11,6 +11,9 @@ static char rcsid[] =
/*
* $Log$
+ * Revision 1.42 2008/03/11 15:02:52 james
+ * *** empty log message ***
+ *
* Revision 1.41 2008/03/10 11:49:32 james
* *** empty log message ***
*
@@ -482,6 +485,7 @@ main (int argc, char *argv[])
memset (oflags, 0, sizeof (oflags));
memset (oargs, 0, sizeof (oargs));
+
while ((c = getopt (argc, argv, "I:NRP:vw:utscr:lKHd:pb:fL:Fk:n:")) != EOF) {
switch (c) {
case ':':
@@ -489,10 +493,10 @@ main (int argc, char *argv[])
case '?':
usage ();
default:
- if ((c > 64) && (c < 91)) {
+ if ((c >= 'A') && (c <= 'Z')) {
oflags[c]++;
oargs[c] = optarg;
- } else if ((c > 96) && (c < 123)) {
+ } else if ((c >= 'a') && (c <= 'z')) {
oflags[c]++;
oargs[c] = optarg;
} else {