changeset 84495:d72878ffabae

(xmenu_show): Remove #ifdef C_ALLOCA block.
author Glenn Morris <rgm@gnu.org>
date Wed, 12 Sep 2007 07:23:12 +0000
parents e6938db78161
children 1f5d5f7ff8c2
files src/xmenu.c
diffstat 1 files changed, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/xmenu.c	Wed Sep 12 07:22:20 2007 +0000
+++ b/src/xmenu.c	Wed Sep 12 07:23:12 2007 +0000
@@ -3655,13 +3655,6 @@
 	  if (!NILP (descrip))
 	    {
 	      int gap = maxwidth - SBYTES (item_name);
-#ifdef C_ALLOCA
-	      Lisp_Object spacer;
-	      spacer = Fmake_string (make_number (gap), make_number (' '));
-	      item_name = concat2 (item_name, spacer);
-	      item_name = concat2 (item_name, descrip);
-	      item_data = SDATA (item_name);
-#else
 	      /* if alloca is fast, use that to make the space,
 		 to reduce gc needs.  */
 	      item_data
@@ -3674,7 +3667,6 @@
 	      bcopy (SDATA (descrip), item_data + j,
 		     SBYTES (descrip));
 	      item_data[j + SBYTES (descrip)] = 0;
-#endif
 	    }
 	  else
 	    item_data = SDATA (item_name);