diff options
author | Jari Vetoniemi <mailroxas@gmail.com> | 2015-01-18 00:59:11 +0200 |
---|---|---|
committer | Jari Vetoniemi <mailroxas@gmail.com> | 2015-01-18 00:59:11 +0200 |
commit | 6b5b93239eab623c786e1c537563a81a285ffbd2 (patch) | |
tree | da1a11ea6a886e812f5f7455d5e943adfb0b7d52 /client/common/common.c | |
parent | 4dc5c77d8236e0d2ce7aa4a82da3d8103ef9426b (diff) | |
download | bemenu-6b5b93239eab623c786e1c537563a81a285ffbd2.tar.gz bemenu-6b5b93239eab623c786e1c537563a81a285ffbd2.tar.bz2 bemenu-6b5b93239eab623c786e1c537563a81a285ffbd2.zip |
Use bools instead of ints
Diffstat (limited to 'client/common/common.c')
-rw-r--r-- | client/common/common.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/common/common.c b/client/common/common.c index ef25280..e8ad262 100644 --- a/client/common/common.c +++ b/client/common/common.c @@ -156,7 +156,7 @@ parse_args(struct client *client, int *argc, char **argv[]) client->filter_mode = BM_FILTER_MODE_DMENU_CASE_INSENSITIVE; break; case 'w': - client->wrap = 1; + client->wrap = true; break; case 'l': client->lines = strtol(optarg, NULL, 10); @@ -172,10 +172,10 @@ parse_args(struct client *client, int *argc, char **argv[]) break; case 'b': - client->bottom = 1; + client->bottom = true; break; case 'f': - client->grab = 1; + client->grab = true; break; case 'm': client->monitor = strtol(optarg, NULL, 10); |