aboutsummaryrefslogtreecommitdiffstats
path: root/src/search.c
diff options
context:
space:
mode:
authorStefan Monnier <[email protected]>2001-10-12 02:24:34 +0000
committerStefan Monnier <[email protected]>2001-10-12 02:24:34 +0000
commitb07b65aaa283d063b156e42e0c75af9ebd6d2459 (patch)
tree8b3fd1e80eb2ad9869d2fcfd0caa183f89c630cb /src/search.c
parent1093ec47963f0fe92d9ceb10c15f63f52abefe3a (diff)
(wordify): Use empty_string.
Diffstat (limited to 'src/search.c')
-rw-r--r--src/search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/search.c b/src/search.c
index d9bddffeab..f05f2cc0bf 100644
--- a/src/search.c
+++ b/src/search.c
@@ -1971,7 +1971,7 @@ wordify (string)
if (SYNTAX (prev_c) == Sword)
word_count++;
if (!word_count)
- return build_string ("");
+ return empty_string;
adjust = - punct_count + 5 * (word_count - 1) + 4;
if (STRING_MULTIBYTE (string))