comparison src/os_mswin.c @ 26771:fc859aea8cec v8.2.3914

patch 8.2.3914: various spelling mistakes in comments Commit: https://github.com/vim/vim/commit/af4a61a85d6e8cacc35324f266934bc463a21673 Author: Dominique Pelle <dominique.pelle@gmail.com> Date: Mon Dec 27 17:21:41 2021 +0000 patch 8.2.3914: various spelling mistakes in comments Problem: Various spelling mistakes in comments. Solution: Fix the mistakes. (Dominique Pell?, closes https://github.com/vim/vim/issues/9416)
author Bram Moolenaar <Bram@vim.org>
date Mon, 27 Dec 2021 18:30:05 +0100
parents 22896e358a90
children 81f0d5a958b9
comparison
equal deleted inserted replaced
26770:15ff3f2e0d58 26771:fc859aea8cec
1905 HWND message_window = 0; // window that's handling messages 1905 HWND message_window = 0; // window that's handling messages
1906 1906
1907 # define VIM_CLASSNAME "VIM_MESSAGES" 1907 # define VIM_CLASSNAME "VIM_MESSAGES"
1908 # define VIM_CLASSNAME_LEN (sizeof(VIM_CLASSNAME) - 1) 1908 # define VIM_CLASSNAME_LEN (sizeof(VIM_CLASSNAME) - 1)
1909 1909
1910 // Communication is via WM_COPYDATA messages. The message type is send in 1910 // Communication is via WM_COPYDATA messages. The message type is sent in
1911 // the dwData parameter. Types are defined here. 1911 // the dwData parameter. Types are defined here.
1912 # define COPYDATA_KEYS 0 1912 # define COPYDATA_KEYS 0
1913 # define COPYDATA_REPLY 1 1913 # define COPYDATA_REPLY 1
1914 # define COPYDATA_EXPR 10 1914 # define COPYDATA_EXPR 10
1915 # define COPYDATA_RESULT 11 1915 # define COPYDATA_RESULT 11
2373 // Execute locally if no display or target is ourselves 2373 // Execute locally if no display or target is ourselves
2374 if (serverName != NULL && STRICMP(name, serverName) == 0) 2374 if (serverName != NULL && STRICMP(name, serverName) == 0)
2375 return sendToLocalVim(cmd, asExpr, result); 2375 return sendToLocalVim(cmd, asExpr, result);
2376 2376
2377 // If the server name does not end in a digit then we look for an 2377 // If the server name does not end in a digit then we look for an
2378 // alternate name. e.g. when "name" is GVIM the we may find GVIM2. 2378 // alternate name. e.g. when "name" is GVIM then we may find GVIM2.
2379 if (STRLEN(name) > 1 && !vim_isdigit(name[STRLEN(name) - 1])) 2379 if (STRLEN(name) > 1 && !vim_isdigit(name[STRLEN(name) - 1]))
2380 altname_buf_ptr = altname_buf; 2380 altname_buf_ptr = altname_buf;
2381 altname_buf[0] = NUL; 2381 altname_buf[0] = NUL;
2382 target = findServer(name); 2382 target = findServer(name);
2383 altname_buf_ptr = NULL; 2383 altname_buf_ptr = NULL;