Add alternate version of 9 digit (lower horizontal segment not set).
Reported by Tim Fardell. Bump version number to 2.14.0 for this new feature.
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
#define SSOCR2_DEFINES_H
|
||||
|
||||
/* version number */
|
||||
#define VERSION "2.13.4"
|
||||
#define VERSION "2.14.0"
|
||||
|
||||
/* states */
|
||||
#define FIND_DARK 0
|
||||
@@ -63,6 +63,7 @@
|
||||
#define D_ALTSEVEN (VERT_LEFT_UP | D_SEVEN)
|
||||
#define D_EIGHT ALL_SEGS
|
||||
#define D_NINE (ALL_SEGS & ~VERT_LEFT_DOWN)
|
||||
#define D_ALTNINE (ALL_SEGS & ~(VERT_LEFT_DOWN | HORIZ_DOWN))
|
||||
#define D_DECIMAL DECIMAL
|
||||
#define D_HEX_A (ALL_SEGS & ~HORIZ_DOWN)
|
||||
#define D_HEX_b (ALL_SEGS & ~(HORIZ_UP | VERT_RIGHT_UP))
|
||||
|
||||
@@ -1176,7 +1176,8 @@ int main(int argc, char **argv)
|
||||
case D_SEVEN: /* fallthrough */
|
||||
case D_ALTSEVEN: putchar('7'); break;
|
||||
case D_EIGHT: putchar('8'); break;
|
||||
case D_NINE: putchar('9'); break;
|
||||
case D_NINE: /* fallthrough */
|
||||
case D_ALTNINE: putchar('9'); break;
|
||||
case D_DECIMAL: putchar('.'); break;
|
||||
case D_HEX_A: putchar('a'); break;
|
||||
case D_HEX_b: putchar('b'); break;
|
||||
|
||||
Reference in New Issue
Block a user