]> git.eshelyaron.com Git - emacs.git/commitdiff
(wordify): Use empty_unibyte_string.
authorJuanma Barranquero <lekktu@gmail.com>
Fri, 8 Jun 2007 20:08:39 +0000 (20:08 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Fri, 8 Jun 2007 20:08:39 +0000 (20:08 +0000)
src/search.c

index abc28619199ea780ab4135f72d5642bbfa529911..c9c6dfdd24210778514a248cd25a8d7c281d737b 100644 (file)
@@ -2095,7 +2095,7 @@ wordify (string)
   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))