From cc448b373d580856f92ff7a9e04daf65444b5cd1 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 14 Jul 2010 16:52:17 +0200 Subject: Support completion for ":find". (Nazri Ramliy) Cleanup white space. --- src/if_python.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/if_python.c') diff --git a/src/if_python.c b/src/if_python.c index 1b0780158..e017b7137 100644 --- a/src/if_python.c +++ b/src/if_python.c @@ -1160,8 +1160,8 @@ VimToPython(typval_T *our_tv, int depth, PyObject *lookupDict) || (our_tv->v_type == VAR_DICT && our_tv->vval.v_dict != NULL)) { sprintf(ptrBuf, PRINTF_DECIMAL_LONG_U, - our_tv->v_type == VAR_LIST ? (long_u)our_tv->vval.v_list - : (long_u)our_tv->vval.v_dict); + our_tv->v_type == VAR_LIST ? (long_u)our_tv->vval.v_list + : (long_u)our_tv->vval.v_dict); result = PyDict_GetItemString(lookupDict, ptrBuf); if (result != NULL) { -- cgit v1.2.1