]> code.delx.au - gnu-emacs/commitdiff
(wordify): Use empty_string.
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 12 Oct 2001 02:24:34 +0000 (02:24 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 12 Oct 2001 02:24:34 +0000 (02:24 +0000)
src/search.c

index d9bddffeabffbd227dd0f058a705185558747fd5..f05f2cc0bf327a321a93b7e5c7150b1314101867 100644 (file)
@@ -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))