reverse-branch
Martin Duquesnoy 18 years ago
parent d03f56b061
commit 5cf8e083b5
  1. 8
      clock.c

@ -54,7 +54,7 @@ push S for enable the second and T for enable the 12H hours format.\n");\
#define MAXW getmaxx(stdscr) #define MAXW getmaxx(stdscr)
#define MAXH getmaxy(stdscr) #define MAXH getmaxy(stdscr)
typedef enum { True = 1, False = 0} Bool; typedef enum { False, True } Bool;
void start(void); void start(void);
void check_key(Bool); void check_key(Bool);
@ -421,13 +421,13 @@ main(int argc, char **argv)
geo.y = atoi(optarg) + 1; geo.y = atoi(optarg) + 1;
break; break;
case 's': case 's':
option.second = 1; option.second = True;
break; break;
case 't': case 't':
option.twelve = 1; option.twelve = True;
break; break;
case 'b': case 'b':
option.keylock = 0; option.keylock = False;
break; break;
case 'c': case 'c':
start(); start();

Loading…
Cancel
Save