changeset 81279:326992131788

(wordify): Use empty_unibyte_string.
author Juanma Barranquero <lekktu@gmail.com>
date Fri, 08 Jun 2007 20:08:39 +0000
parents 5770b716f5aa
children d27a83277a4b
files src/search.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/search.c	Fri Jun 08 20:07:44 2007 +0000
+++ b/src/search.c	Fri Jun 08 20:08:39 2007 +0000
@@ -2095,7 +2095,7 @@
   if (SYNTAX (prev_c) == Sword)
     word_count++;
   if (!word_count)
-    return empty_string;
+    return empty_unibyte_string;
 
   adjust = - punct_count + 5 * (word_count - 1) + 4;
   if (STRING_MULTIBYTE (string))