Mercurial > vim
comparison src/job.c @ 29239:da56650de132 v8.2.5138
patch 8.2.5138: various small issues
Commit: https://github.com/vim/vim/commit/8088ae95bbed2085c5fb196850c4e4b8df55c989
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jun 20 11:38:17 2022 +0100
patch 8.2.5138: various small issues
Problem: Various small issues.
Solution: Various small improvments.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 20 Jun 2022 12:45:03 +0200 |
parents | 755ab148288b |
children | b6bef244837e |
comparison
equal
deleted
inserted
replaced
29238:ee6d7b2b9704 | 29239:da56650de132 |
---|---|
220 break; | 220 break; |
221 opt->jo_set |= JO_OUT_BUF << (part - PART_OUT); | 221 opt->jo_set |= JO_OUT_BUF << (part - PART_OUT); |
222 opt->jo_io_buf[part] = tv_get_number(item); | 222 opt->jo_io_buf[part] = tv_get_number(item); |
223 if (opt->jo_io_buf[part] <= 0) | 223 if (opt->jo_io_buf[part] <= 0) |
224 { | 224 { |
225 semsg(_(e_invalid_value_for_argument_str_str), hi->hi_key, tv_get_string(item)); | 225 semsg(_(e_invalid_value_for_argument_str_str), |
226 hi->hi_key, tv_get_string(item)); | |
226 return FAIL; | 227 return FAIL; |
227 } | 228 } |
228 if (buflist_findnr(opt->jo_io_buf[part]) == NULL) | 229 if (buflist_findnr(opt->jo_io_buf[part]) == NULL) |
229 { | 230 { |
230 semsg(_(e_buffer_nr_does_not_exist), | 231 semsg(_(e_buffer_nr_does_not_exist), |