]> git.eshelyaron.com Git - emacs.git/commitdiff
(casify_object): Use make_specified_string.
authorRichard M. Stallman <rms@gnu.org>
Sat, 21 Mar 1998 18:02:09 +0000 (18:02 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 21 Mar 1998 18:02:09 +0000 (18:02 +0000)
src/casefiddle.c

index d3ddf6cb80ea36e381466aaddc54aa0018548ef8..4f1f72f6e9e4508af90058298e7b432e418e78f4 100644 (file)
@@ -124,7 +124,8 @@ casify_object (flag, obj)
                  if ((int) flag >= (int) CASE_CAPITALIZE)
                    inword = SYNTAX (c) == Sword;
                }
-             obj = make_multibyte_string (buf, j, j_byte);
+             obj = make_specified_string (buf, j, j_byte,
+                                          STRING_MULTIBYTE (obj));
            }
          return obj;
        }