X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/1505643bb70ce66e86d6c72902fe7e9199e93606..b7f83adda5a32140811e8e7decc4394d64cada3d:/src/fringe.c diff --git a/src/fringe.c b/src/fringe.c index 3c0e883b2e..464379d0cd 100644 --- a/src/fringe.c +++ b/src/fringe.c @@ -1,5 +1,5 @@ /* Fringe handling (split from xdisp.c). - Copyright (C) 1985-1988, 1993-1995, 1997-2014 Free Software + Copyright (C) 1985-1988, 1993-1995, 1997-2015 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -65,10 +65,6 @@ along with GNU Emacs. If not, see . */ must specify physical bitmap symbols. */ -static Lisp_Object Qtruncation, Qcontinuation, Qoverlay_arrow; -static Lisp_Object Qempty_line, Qtop_bottom; -static Lisp_Object Qhollow_small; - enum fringe_bitmap_align { ALIGN_BITMAP_CENTER = 0, @@ -1727,15 +1723,12 @@ init_fringe_once (void) void init_fringe (void) { - int i; - max_fringe_bitmaps = MAX_STANDARD_FRINGE_BITMAPS + 20; fringe_bitmaps = xzalloc (max_fringe_bitmaps * sizeof *fringe_bitmaps); - fringe_faces = xmalloc (max_fringe_bitmaps * sizeof *fringe_faces); - for (i = 0; i < max_fringe_bitmaps; i++) - fringe_faces[i] = Qnil; + verify (NIL_IS_ZERO); + fringe_faces = xzalloc (max_fringe_bitmaps * sizeof *fringe_faces); } #ifdef HAVE_NTGUI