diff options
author | nicm <nicm> | 2015-06-05 09:09:08 +0000 |
---|---|---|
committer | nicm <nicm> | 2015-06-05 09:09:08 +0000 |
commit | 2f586905fc7dc4a3f65a1bca1ad94e28ffc3508d (patch) | |
tree | 08c866cb1c8fcee639da0ae38d908f2c45a8d18a /cmd-find.c | |
parent | 4219939c10980051a6d272853c96b6e1931639b1 (diff) |
Fix a warning.
Diffstat (limited to 'cmd-find.c')
-rw-r--r-- | cmd-find.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -476,7 +476,7 @@ cmd_find_get_window_with_session(struct cmd_find_state *fs, const char *window) } /* Try as an offset. */ - if (!exact && window[0] == '+' || window[0] == '-') { + if (!exact && (window[0] == '+' || window[0] == '-')) { if (window[1] != '\0') n = strtonum(window + 1, 1, INT_MAX, NULL); else |