Fix Bool - tty-clock - port of tty-clock to OpenBSD, with pledge/unveil added as goodie.
 (HTM) git clone https://git.drkhsh.at/tty-clock.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 5cf8e083b5f90aa2ba9ef857cbdf48c0ec7c7c67
 (DIR) parent d03f56b061169dd891b34b2d01ebf1268e3cbd1b
 (HTM) Author: Martin Duquesnoy <xorg62@gmail.com>
       Date:   Fri,  5 Dec 2008 20:09:53 +0100
       
       Fix Bool
       
       Diffstat:
         M clock.c                             |       8 ++++----
       
       1 file changed, 4 insertions(+), 4 deletions(-)
       ---
 (DIR) diff --git a/clock.c b/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 MAXH getmaxy(stdscr)
        
       -typedef enum { True = 1, False = 0} Bool;
       +typedef enum { False, True } Bool;
        
        void start(void);
        void check_key(Bool);
       @@ -421,13 +421,13 @@ main(int argc, char **argv)
                            geo.y = atoi(optarg) + 1;
                       break;
                       case 's':
       -                    option.second = 1;
       +                    option.second = True;
                            break;
                  case 't':
       -               option.twelve = 1;
       +               option.twelve = True;
                       break;
                  case 'b':
       -               option.keylock = 0;
       +               option.keylock = False;
                       break;
                  case 'c':
                       start();