From 60c7eabb2feeb95f405deca6680bdd59113edcaa Mon Sep 17 00:00:00 2001 From: erw7 Date: Sat, 16 Nov 2019 13:16:52 +0900 Subject: Change enum to a name that follows naming convention --- src/nvim/os/pty_process_win.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/nvim/os/pty_process_win.h') diff --git a/src/nvim/os/pty_process_win.h b/src/nvim/os/pty_process_win.h index c7eaa23b1b..04c8439c6c 100644 --- a/src/nvim/os/pty_process_win.h +++ b/src/nvim/os/pty_process_win.h @@ -9,9 +9,9 @@ #include "nvim/os/os_win_conpty.h" typedef enum { - PTY_TYPE_WINPTY, - PTY_TYPE_CONPTY -} pty_type_t; + kWinpty, + kConpty +} PtyType; typedef struct pty_process { Process process; @@ -21,7 +21,7 @@ typedef struct pty_process { winpty_t *winpty; conpty_t *conpty; } object; - pty_type_t type; + PtyType type; HANDLE finish_wait; HANDLE process_handle; uv_timer_t wait_eof_timer; @@ -41,7 +41,7 @@ static inline PtyProcess pty_process_init(Loop *loop, void *data) rv.width = 80; rv.height = 24; rv.object.winpty = NULL; - rv.type = PTY_TYPE_WINPTY; + rv.type = kWinpty; rv.finish_wait = NULL; rv.process_handle = NULL; return rv; -- cgit