OSDN Git Service
(root)
/
bbk
/
bchanl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
change condition whether filter word is empty or not
[bbk/bchanl.git]
/
src
/
subjectlist.c
diff --git
a/src/subjectlist.c
b/src/subjectlist.c
index
a01962b
..
a20084a
100644
(file)
--- a/
src/subjectlist.c
+++ b/
src/subjectlist.c
@@
-284,7
+284,7
@@
LOCAL W sbjtlist_copyarraywithfilter(sbjtlist_t *list, TC *filterword, W filterw
sbjtlist_tuple_t *tuple;
len = sbjtlist_originarray_length(&list->origin);
- if (filterword
!= NULL
) {
+ if (filterword
_len > 0
) {
for (i = 0; i < len; i++) {
found = sbjtlist_originarray_getbyindex(&list->origin, i, &tuple);
if (found == False) {