diff options
author | Steven Schubiger <stsc@refcnt.org> | 2015-01-08 15:14:36 +0100 |
---|---|---|
committer | Steven Schubiger <stsc@refcnt.org> | 2015-01-08 15:14:36 +0100 |
commit | 0e7d31b1a793a3bc2c9b4175293795c79951b324 (patch) | |
tree | 9a680308046fe972a284c775a343f876284c922e | |
parent | 5703377a911a2b6acd03e988fafd433442930b1f (diff) | |
download | colorize-0e7d31b1a793a3bc2c9b4175293795c79951b324.tar.gz colorize-0e7d31b1a793a3bc2c9b4175293795c79951b324.tar.bz2 |
Keep return value check simple
-rw-r--r-- | colorize.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -499,7 +499,7 @@ process_args (unsigned int arg_cnt, char **arg_strings, bool *bold, const struct /* Ensure that we don't fail if there's a file with one or more color names in its path. */ - if (ret != -1) + if (ret == 0) /* success */ { bool have_file; unsigned int c; |