diff src/minibuf.c @ 83380:94f174e5569d

Merged from miles@gnu.org--gnu-2005 (patch 543) Patches applied: * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-543 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-420
author Karoly Lorentey <lorentey@elte.hu>
date Sat, 17 Sep 2005 19:00:49 +0000
parents 0b75ace4f7ad da27b91068ae
children 2a679c81f552
line wrap: on
line diff
--- a/src/minibuf.c	Mon Sep 12 06:49:54 2005 +0000
+++ b/src/minibuf.c	Sat Sep 17 19:00:49 2005 +0000
@@ -2164,7 +2164,6 @@
 {
   Lisp_Object completion, tem, tem1;
   register int i, i_byte;
-  register const unsigned char *completion_string;
   struct gcpro gcpro1, gcpro2;
   int prompt_end_charpos = XINT (Fminibuffer_prompt_end ());
 
@@ -2295,7 +2294,7 @@
   {
     int len, c;
     int bytes = SBYTES (completion);
-    completion_string = SDATA (completion);
+    register const unsigned char *completion_string = SDATA (completion);
     for (; i_byte < SBYTES (completion); i_byte += len, i++)
       {
 	c = STRING_CHAR_AND_LENGTH (completion_string + i_byte,