[AC] Don't assume DEFAULT_INDEX will always be 0

Didier Verna didier at xemacs.org
Wed Sep 26 05:37:04 EDT 2007


NOTE: This patch has been committed. The version below is
informational only (whitespace differences have been removed).

		Dear reviewers,

	here's a small cleanness fix to gutter.c


src/ChangeLog addition:

2007-09-26  Didier Verna  <didier at xemacs.org>

	* gutter.c (calculate_gutter_size): Don't hardwire face index to
	0: use DEFAULT_INDEX instead.


XEmacs source patch:
Diff command:   cvs -q diff -u -t -b -B -w
Files affected: src/gutter.c

Index: src/gutter.c
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/gutter.c,v
retrieving revision 1.19
diff -u -u -t -b -B -w -r1.19 gutter.c
--- src/gutter.c	25 Oct 2005 11:16:25 -0000	1.19
+++ src/gutter.c	26 Sep 2007 09:31:32 -0000
@@ -365,7 +365,7 @@
                                  - FRAME_LEFT_BORDER_END (f),
                                  FRAME_BOTTOM_BORDER_START (f)
                                  - FRAME_TOP_BORDER_END (f),
-                                 ddla, 0, 0);
+                                 ddla, 0, DEFAULT_INDEX);
 
       /* Let GC happen again. */
       exit_redisplay_critical_section (count);

-- 
New @-quartet featured CD Review !!
http://www.indie-music.com/modules.php?name=News&file=article&sid=6457

Didier Verna, didier at lrde.epita.fr, http://www.lrde.epita.fr/~didier

EPITA / LRDE, 14-16 rue Voltaire   Tel.+33 (1) 44 08 01 85
94276 Le Kremlin-Bicêtre, France   Fax.+33 (1) 53 14 59 22   didier at xemacs.org



More information about the XEmacs-Patches mailing list