summaryrefslogtreecommitdiff
path: root/src/netbeans.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/netbeans.c')
-rw-r--r--src/netbeans.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/netbeans.c b/src/netbeans.c
index 7d6ec4344..f1e766640 100644
--- a/src/netbeans.c
+++ b/src/netbeans.c
@@ -473,7 +473,7 @@ nb_parse_cmd(char_u *cmd)
{
buf_T *buf;
- for (buf = firstbuf; buf != NULL; buf = buf->b_next)
+ FOR_ALL_BUFFERS(buf)
buf->b_has_sign_column = FALSE;
/* The IDE is breaking the connection. */
@@ -721,7 +721,7 @@ count_changed_buffers(void)
int n;
n = 0;
- for (bufp = firstbuf; bufp != NULL; bufp = bufp->b_next)
+ FOR_ALL_BUFFERS(bufp)
if (bufp->b_changed)
++n;
return n;