summaryrefslogtreecommitdiff
path: root/src/if_ruby.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-02-16 22:11:02 +0000
committerBram Moolenaar <Bram@vim.org>2006-02-16 22:11:02 +0000
commitf740b29ae2a346e44c34001b3bf8ecfa0c7857bd (patch)
tree5b62807af1359d3df97367448927cdbb53969448 /src/if_ruby.c
parent4c7ed462cb7813730b4f15f9cb09f1b26d097fca (diff)
downloadvim-git-f740b29ae2a346e44c34001b3bf8ecfa0c7857bd.tar.gz
updated for version 7.0199v7.0199
Diffstat (limited to 'src/if_ruby.c')
-rw-r--r--src/if_ruby.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/if_ruby.c b/src/if_ruby.c
index f09b220ae..bacd6c72b 100644
--- a/src/if_ruby.c
+++ b/src/if_ruby.c
@@ -726,7 +726,7 @@ static VALUE window_s_count()
win_T *w;
int n = 0;
- for (w = firstwin; w; w = w->w_next)
+ for (w = firstwin; w != NULL; w = w->w_next)
n++;
return INT2NUM(n);
#else