src/arguments.c

changeset 39
4761bc1b0278
parent 36
a7ff583e153f
child 48
0d2c13c24fd0
--- a/src/arguments.c	Fri Dec 28 17:15:23 2012 +0100
+++ b/src/arguments.c	Thu Feb 14 22:26:36 2013 +0100
@@ -39,7 +39,7 @@
   if (arg[0] == '-') {
     if (arg[1] != '-') {
       for (int t = 0 ; t < len ; t++) {
-        ret |= (strchr(arg, expected[t]) > 0) << t;
+        ret |= (strchr(arg, expected[t])?1:0) << t;
       }
     }
   }

mercurial