diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-07-19 21:02:37 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-07-19 21:02:37 -0700 |
commit | a03592e3327214feed8897d692b6d33d905ec341 (patch) | |
tree | 053fbf67250b83632402e3e5154f967d82fa443a | |
parent | 088c98ac50008b01c330496afc9310ba00c4af84 (diff) | |
download | txr-a03592e3327214feed8897d692b6d33d905ec341.tar.gz txr-a03592e3327214feed8897d692b6d33d905ec341.tar.bz2 txr-a03592e3327214feed8897d692b6d33d905ec341.zip |
Replace 0 constant with nil.
* lib.c (split_str): Fourth argument of search_regex is
Lisp boolean, so nil should be used to specify false.
-rw-r--r-- | lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3748,7 +3748,7 @@ val split_str(val str, val sep) val pos = zero; do { - cons_bind (new_pos, len, search_regex(str, sep, pos, 0)); + cons_bind (new_pos, len, search_regex(str, sep, pos, nil)); if (eql(pos, new_pos) && len == zero) new_pos = plus(new_pos, one); |