diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2020-05-14 16:32:57 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2020-05-14 16:32:57 +0200 |
| commit | 9d0c64515d924e9f5fcd31b72efb66469d5437dc (patch) | |
| tree | b82dd269ab6b398d771edc14208471994ce89e00 /fuzz | |
| parent | e036941abc8b17cd71db1554560ef223d5710596 (diff) | |
| download | vis-9d0c64515d924e9f5fcd31b72efb66469d5437dc.tar.gz vis-9d0c64515d924e9f5fcd31b72efb66469d5437dc.tar.xz | |
test/fuzz: fix compilation by adapting to newer API
Diffstat (limited to 'fuzz')
| -rw-r--r-- | fuzz/text-fuzzer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fuzz/text-fuzzer.c b/fuzz/text-fuzzer.c index 449e0dd..ddb132b 100644 --- a/fuzz/text-fuzzer.c +++ b/fuzz/text-fuzzer.c @@ -52,11 +52,11 @@ static enum CmdStatus cmd_redo(Text *txt, const char *cmd) { } static enum CmdStatus cmd_earlier(Text *txt, const char *cmd) { - return text_earlier(txt, 1) != EPOS; + return text_earlier(txt) != EPOS; } static enum CmdStatus cmd_later(Text *txt, const char *cmd) { - return text_later(txt, 1) != EPOS; + return text_later(txt) != EPOS; } static enum CmdStatus cmd_mark_set(Text *txt, const char *cmd) { |
