diff src/search.c @ 81279:326992131788

(wordify): Use empty_unibyte_string.
author Juanma Barranquero <lekktu@gmail.com>
date Fri, 08 Jun 2007 20:08:39 +0000
parents e90d04cd455a
children 54b5d7bec019 e9f94688a064
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))