diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-06-14 21:36:54 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-06-14 21:36:54 +0200 |
commit | 0554fa478d27c611d23a814c987eb66f9daae6f7 (patch) | |
tree | f1dc359a778da461f7d32e20aa6f4e50ee0df530 /src/winclip.c | |
parent | f42397c395ec8ff2dffef914805b4d9cbf1d600b (diff) | |
download | vim-git-0554fa478d27c611d23a814c987eb66f9daae6f7.tar.gz |
patch 8.1.1531: clipboard type name is inconsistentv8.1.1531
Problem: Clipboard type name is inconsistent.
Solution: Rename VimClipboard to Clipboard_T.
Diffstat (limited to 'src/winclip.c')
-rw-r--r-- | src/winclip.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/winclip.c b/src/winclip.c index 9b7f3f6ae..4dcbc4386 100644 --- a/src/winclip.c +++ b/src/winclip.c @@ -191,7 +191,7 @@ win_clip_init(void) /* * Vim's own clipboard format recognises whether the text is char, line, * or rectangular block. Only useful for copying between two Vims. - * "VimClipboard" was used for previous versions, using the first + * "Clipboard_T" was used for previous versions, using the first * character to specify MCHAR, MLINE or MBLOCK. */ clip_star.format = RegisterClipboardFormat("VimClipboard2"); @@ -212,7 +212,7 @@ typedef struct * Make vim the owner of the current selection. Return OK upon success. */ int -clip_mch_own_selection(VimClipboard *cbd UNUSED) +clip_mch_own_selection(Clipboard_T *cbd UNUSED) { /* * Never actually own the clipboard. If another application sets the @@ -225,7 +225,7 @@ clip_mch_own_selection(VimClipboard *cbd UNUSED) * Make vim NOT the owner of the current selection. */ void -clip_mch_lose_selection(VimClipboard *cbd UNUSED) +clip_mch_lose_selection(Clipboard_T *cbd UNUSED) { /* Nothing needs to be done here */ } @@ -293,7 +293,7 @@ vim_open_clipboard(void) * <VN> */ void -clip_mch_request_selection(VimClipboard *cbd) +clip_mch_request_selection(Clipboard_T *cbd) { VimClipType_t metadata = { -1, -1, -1, -1 }; HGLOBAL hMem = NULL; @@ -453,7 +453,7 @@ clip_mch_request_selection(VimClipboard *cbd) * Send the current selection to the clipboard. */ void -clip_mch_set_selection(VimClipboard *cbd) +clip_mch_set_selection(Clipboard_T *cbd) { char_u *str = NULL; VimClipType_t metadata; |