diff options
author | 2020-02-12 19:46:51 -0500 | |
---|---|---|
committer | 2020-02-13 10:26:14 +0100 | |
commit | 7999845357bacac9c7599c899c0d6e88dac0791e (patch) | |
tree | 74d28f8644b2fc71b459c6d6e9656f899ef2dfc0 /include/stringop.h | |
parent | Apply the output scale filter after the output commit (diff) | |
download | sway-7999845357bacac9c7599c899c0d6e88dac0791e.tar.gz sway-7999845357bacac9c7599c899c0d6e88dac0791e.tar.zst sway-7999845357bacac9c7599c899c0d6e88dac0791e.zip |
cmd_swap: fix test_mark condition
The condition in test_mark was checking the negation of list_seq_find.
This works fine for the first mark, but fails for every other mark. This
fixes the condition to check for anything other than -1, which is the
value returned from list_seq_find for index not found.
Diffstat (limited to 'include/stringop.h')
0 files changed, 0 insertions, 0 deletions