Commit: patch 9.0.1778: if_py_both: code-style issue

5 views
Skip to first unread message

Christian Brabandt

unread,
Aug 20, 2023, 5:30:07 PM8/20/23
to vim...@googlegroups.com
patch 9.0.1778: if_py_both: code-style issue

Commit: https://github.com/vim/vim/commit/75dc1ed1adddbcde926872bb41dfe1a1b0029848
Author: Christian Brabandt <c...@256bit.org>
Date: Sun Aug 20 23:19:24 2023 +0200

patch 9.0.1778: if_py_both: code-style issue

Problem: if_py_both: code-style issue
Solution: add space

Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/if_py_both.h b/src/if_py_both.h
index ff1809860..c1d7675cb 100644
--- a/src/if_py_both.h
+++ b/src/if_py_both.h
@@ -148,7 +148,7 @@ PyObject* Vim_PyObject_New(PyTypeObject *type, size_t objsize)
Py_XDECREF(module); \
Py_XDECREF(full); \
Py_XDECREF(full_bytes); \
- } while(0)
+ } while (0)

# define PyList_GET_ITEM(list, i) PyList_GetItem(list, i)
# define PyList_GET_SIZE(o) PyList_Size(o)
diff --git a/src/version.c b/src/version.c
index 43626ab65..50e2187c4 100644
--- a/src/version.c
+++ b/src/version.c
@@ -699,6 +699,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1778,
/**/
1777,
/**/
Reply all
Reply to author
Forward
0 new messages