summaryrefslogtreecommitdiffstats
path: root/options.h
diff options
context:
space:
mode:
authorBert <ber.t@gmx.com>2011-09-11 21:01:24 +0200
committerBert <ber.t@gmx.com>2011-09-11 21:01:24 +0200
commitb2a2a62b7b8a066467d7e8ef520fef7c17e3c5ca (patch)
treec13904baa041941854a7550f883ba38e14205f1e /options.h
parente2d4b9c7915a2a356cae04d33f1713ae224fbe7e (diff)
downloadnsxiv-b2a2a62b7b8a066467d7e8ef520fef7c17e3c5ca.tar.zst
Added own bool type
Diffstat (limited to 'options.h')
-rw-r--r--options.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/options.h b/options.h
index 67ad926..3bf685a 100644
--- a/options.h
+++ b/options.h
@@ -25,25 +25,25 @@
typedef struct {
/* file list: */
char **filenames;
- unsigned char from_stdin;
- unsigned char recursive;
+ bool from_stdin;
+ bool recursive;
int filecnt;
int startnum;
/* image: */
scalemode_t scalemode;
float zoom;
- unsigned char aa;
+ bool aa;
/* window: */
- unsigned char fixed;
- unsigned char fullscreen;
+ bool fixed_win;
+ bool fullscreen;
char *geometry;
/* misc flags: */
- unsigned char quiet;
- unsigned char thumbnails;
- unsigned char clean_cache;
+ bool quiet;
+ bool thumb_mode;
+ bool clean_cache;
} options_t;
extern const options_t *options;