summaryrefslogtreecommitdiff
path: root/src/fringe.c
diff options
context:
space:
mode:
authorKaroly Lorentey <lorentey@elte.hu>2004-10-08 11:15:37 +0000
committerKaroly Lorentey <lorentey@elte.hu>2004-10-08 11:15:37 +0000
commita284b538354c95a7fcf8d2d1f6a88ff7c8374fc1 (patch)
tree98743952728ec1186a05912e39b01c3dc9b09ae7 /src/fringe.c
parentc5f80d9d13d6033e5ee75d65bb5383d4d75dc427 (diff)
downloademacs-a284b538354c95a7fcf8d2d1f6a88ff7c8374fc1.tar.gz
Removed C99ism in init_fringe_bitmap.
* src/fringe.c (init_fringe_bitmap): Removed C99ism. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-254
Diffstat (limited to 'src/fringe.c')
-rw-r--r--src/fringe.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/fringe.c b/src/fringe.c
index 2da5439b039..03af487c095 100644
--- a/src/fringe.c
+++ b/src/fringe.c
@@ -1160,10 +1160,11 @@ init_fringe_bitmap (which, fb, once_p)
if (!once_p)
{
- destroy_fringe_bitmap (which);
-
/* XXX Is SELECTED_FRAME OK here? */
struct redisplay_interface *rif = FRAME_RIF (SELECTED_FRAME ());
+
+ destroy_fringe_bitmap (which);
+
if (rif && rif->define_fringe_bitmap)
rif->define_fringe_bitmap (which, fb->bits, fb->height, fb->width);