Problem: Typos and small problems in source files.
Solution: Small fixes.
if (prepend)
{
- /* preend node to the head of the queue */
+ // prepend node to the head of the queue
node->rq_next = head->rq_next;
node->rq_prev = NULL;
if (head->rq_next == NULL)
}
else
{
- /* append node to the tail of the queue */
+ // append node to the tail of the queue
node->rq_next = NULL;
node->rq_prev = head->rq_prev;
if (head->rq_prev == NULL)
/* Optional function pointer for a self-test. */
int (* self_test_fn)();
- // Function pointer for initializing encryption/description.
+ // Function pointer for initializing encryption/decryption.
void (* init_fn)(cryptstate_T *state, char_u *key,
char_u *salt, int salt_len, char_u *seed, int seed_len);
/* Re-enable bracketed paste mode. */
out_str(T_BE);
- /*
- * When recording or for CTRL-O, need to display the new mode.
- * Otherwise remove the mode message.
- */
+ // When recording or for CTRL-O, need to display the new mode.
+ // Otherwise remove the mode message.
if (reg_recording != 0 || restart_edit != NUL)
showmode();
else if (p_smd && (got_int || !skip_showmode()))
# 2 target directory e.g., "/usr/local/man/it/man1"
# 3 language addition e.g., "" or "-it"
# 4 vim location as used in manual pages e.g., "/usr/local/share/vim"
-# 5 runtime dir for menu.vim et al. e.g., "/usr/local/share/vim/vim70"
+# 5 runtime dir for menu.vim et al. e.g., "/usr/local/share/vim/vim81"
# 6 runtime dir for global vimrc file e.g., "/usr/local/share/vim"
# 7 source dir for help files e.g., "../runtime/doc"
# 8 mode bits for manpages e.g., "644"
/*
* Structure representing a NFA state.
- * A NFA state may have no outgoing edge, when it is a NFA_MATCH state.
+ * An NFA state may have no outgoing edge, when it is a NFA_MATCH state.
*/
typedef struct nfa_state nfa_state_T;
struct nfa_state
* Don't add identical matches.
* Add all cscope tags, because they are all listed.
* "mfp" is used as a hash key, there is a NUL byte to end
- * the part matters for comparing, more bytes may follow
- * after it. E.g. help tags store the priority after the
- * NUL.
+ * the part that matters for comparing, more bytes may
+ * follow after it. E.g. help tags store the priority
+ * after the NUL.
*/
#ifdef FEAT_CSCOPE
if (use_cscope)
* (char **). This define removes that prototype. We include our own prototype
* below.
*/
-
#define tgetstr tgetstr_defined_wrong
+
#include "vim.h"
#ifdef HAVE_TGETENT
typedef int HPCON;
typedef int HRESULT;
typedef int LPPROC_THREAD_ATTRIBUTE_LIST;
+typedef int SIZE_T;
typedef int PSIZE_T;
typedef int PVOID;
-typedef int SIZE_T;
typedef int WINAPI;
#endif
*error = ERROR_SCRIPT;
else
{
- sprintf((char *)fname_buf + 3, "%ld_", (long)current_sctx.sc_sid);
+ sprintf((char *)fname_buf + 3, "%ld_",
+ (long)current_sctx.sc_sid);
i = (int)STRLEN(fname_buf);
}
}
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1194,
/**/
1193,
/**/