aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/pty_conpty_win.c
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2021-11-01 01:03:08 +0100
committerGitHub <noreply@github.com>2021-10-31 17:03:08 -0700
commita68faed02dc8e37b8f10da14dc02e33e6ed93947 (patch)
tree992c62bd3451d829d4b91fef527d3f4254254bcc /src/nvim/os/pty_conpty_win.c
parent5ad15c9fa1ac6e6b2acfc2fe5e20148adeb85eb3 (diff)
downloadrneovim-a68faed02dc8e37b8f10da14dc02e33e6ed93947.tar.gz
rneovim-a68faed02dc8e37b8f10da14dc02e33e6ed93947.tar.bz2
rneovim-a68faed02dc8e37b8f10da14dc02e33e6ed93947.zip
refactor: saner options for uncrustify #16196
* refactor: general good option changes sp_deref = remove sp_not = remove sp_inv = remove sp_inside_paren_cast = remove mod_remove_duplicate_include = true sp_after_semi = add sp_after_semi_for = force sp_sizeof_paren = remove nl_return_expr = remove nl_else_brace = remove nl_else_if = remove * refactor: mod_remove_extra_semicolon = true * refactor: nl_max = 3 * refactor: sp_bool = force * refactor: sp_compare = force * refactor: sp_inside_paren = remove * refactor: sp_paren_paren = remove * refactor: sp_inside_sparen = remove * refactor: sp_before_sparen = force * refactor: sp_sign = remove * refactor: sp_addr = remove * refactor: sp_member = remove * refactor: nl_struct_brace = remove * refactor: nl_before_if_closing_paren = remove * refactor: nl_fdef_brace = force * refactor: sp_paren_comma = force * refactor: mod_full_brace_do = add
Diffstat (limited to 'src/nvim/os/pty_conpty_win.c')
-rw-r--r--src/nvim/os/pty_conpty_win.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/os/pty_conpty_win.c b/src/nvim/os/pty_conpty_win.c
index 0625d6994e..f9478d951f 100644
--- a/src/nvim/os/pty_conpty_win.c
+++ b/src/nvim/os/pty_conpty_win.c
@@ -96,7 +96,7 @@ conpty_t *os_conpty_init(char **in_name, char **out_name, uint16_t width, uint16
goto failed;
}
assert(width <= SHRT_MAX);
- assert(height <= SHRT_MAX);
+ assert(height <= SHRT_MAX);
COORD size = { (int16_t)width, (int16_t)height };
HRESULT hr;
hr = pCreatePseudoConsole(size, in_read, out_write, 0, &conpty_object->pty);
@@ -107,7 +107,7 @@ conpty_t *os_conpty_init(char **in_name, char **out_name, uint16_t width, uint16
conpty_object->si_ex.StartupInfo.cb = sizeof(conpty_object->si_ex);
size_t bytes_required;
- InitializeProcThreadAttributeList(NULL, 1, 0, & bytes_required);
+ InitializeProcThreadAttributeList(NULL, 1, 0, &bytes_required);
conpty_object->si_ex.lpAttributeList =
(PPROC_THREAD_ATTRIBUTE_LIST)xmalloc(bytes_required);
if (!InitializeProcThreadAttributeList(conpty_object->si_ex.lpAttributeList,