# HG changeset patch
# User ZyX <[email protected]>
# Date 1369490673 -14400
# Node ID 4070da40d25e86084109ed015fe943d75413d612
# Parent  3fc0fc7ae6b145f0b0b223a993fb15bc78681ce7
Fix typo in pyiter_to_tv

diff -r 3fc0fc7ae6b1 -r 4070da40d25e src/if_py_both.h
--- a/src/if_py_both.h  Sat May 25 18:02:17 2013 +0400
+++ b/src/if_py_both.h  Sat May 25 18:04:33 2013 +0400
@@ -4195,7 +4195,7 @@
     if (iterator == NULL)
        return -1;
 
-    while ((item = PyIter_Next(obj)))
+    while ((item = PyIter_Next(iterator)))
     {
        li = listitem_alloc();
        if (li == NULL)

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


*** /tmp/extdiff.faTWLX/vim.3fc0fc7ae6b1/src/if_py_both.h	2013-05-25 18:39:17.873389332 +0400
--- vim.4070da40d25e/src/if_py_both.h	2013-05-25 18:39:17.879386275 +0400
***************
*** 4195,4201 ****
      if (iterator == NULL)
  	return -1;
  
!     while ((item = PyIter_Next(obj)))
      {
  	li = listitem_alloc();
  	if (li == NULL)
--- 4195,4201 ----
      if (iterator == NULL)
  	return -1;
  
!     while ((item = PyIter_Next(iterator)))
      {
  	li = listitem_alloc();
  	if (li == NULL)

Raspunde prin e-mail lui