diff options
| author | Simon Tatham <anakin@pobox.com> | 2018-11-13 21:40:49 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2018-11-13 21:48:24 +0000 |
| commit | 836a5c4ea742cc2ab23537993e8c54b251ae803b (patch) | |
| tree | 40a3a5a708890c7884b952a0ebd9c26955899125 /puzzles.h | |
| parent | 8fb4cd031ae0bdcab133049c8683b41ac41d4000 (diff) | |
| download | puzzles-836a5c4ea742cc2ab23537993e8c54b251ae803b.zip puzzles-836a5c4ea742cc2ab23537993e8c54b251ae803b.tar.gz puzzles-836a5c4ea742cc2ab23537993e8c54b251ae803b.tar.bz2 puzzles-836a5c4ea742cc2ab23537993e8c54b251ae803b.tar.xz | |
Adopt C99 bool in misc.c functions.
The 'decode' flag to obfuscate_bitmap and the 'wrap' flag to
move_cursor are the only ones affected here.
Diffstat (limited to 'puzzles.h')
| -rw-r--r-- | puzzles.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -376,7 +376,7 @@ char *dupstr(const char *s); */ void free_cfg(config_item *cfg); void free_keys(key_label *keys, int nkeys); -void obfuscate_bitmap(unsigned char *bmp, int bits, int decode); +void obfuscate_bitmap(unsigned char *bmp, int bits, bool decode); char *fgetline(FILE *fp); /* allocates output each time. len is always in bytes of binary data. @@ -403,7 +403,7 @@ void draw_rect_outline(drawing *dr, int x, int y, int w, int h, /* Draw a set of rectangle corners (e.g. for a cursor display). */ void draw_rect_corners(drawing *dr, int cx, int cy, int r, int col); -void move_cursor(int button, int *x, int *y, int maxw, int maxh, int wrap); +void move_cursor(int button, int *x, int *y, int maxw, int maxh, bool wrap); /* Used in netslide.c and sixteen.c for cursor movement around edge. */ int c2pos(int w, int h, int cx, int cy); |