diff options
Diffstat (limited to 'src/strlist.h')
-rw-r--r-- | src/strlist.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strlist.h b/src/strlist.h index 25bbb4e0..d3d54709 100644 --- a/src/strlist.h +++ b/src/strlist.h @@ -18,7 +18,7 @@ it should usually by +1 from what you expect, and should only be used in the scope of the macro) */ #define STRLIST_FOREACH(_list, _pos, _counter) \ - if ((_list) && _list[0] && ((_counter = 0) == 0)) \ + if ((_list) && _list[0] && ! (_counter = 0)) \ while ((_pos = _list[_counter++])) #endif /* __STRLIST_H__ */ |