diff src/fringe.c @ 83214:2bd6d4c2d21c

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
author Karoly Lorentey <lorentey@elte.hu>
date Fri, 08 Oct 2004 11:15:37 +0000
parents d83f49cefda3
children 4f2f1522636c
line wrap: on
line diff
--- a/src/fringe.c	Thu Oct 07 16:52:19 2004 +0000
+++ b/src/fringe.c	Fri Oct 08 11:15:37 2004 +0000
@@ -1160,10 +1160,11 @@
 
   if (!once_p)
     {
+      /* XXX Is SELECTED_FRAME OK here? */
+      struct redisplay_interface *rif = FRAME_RIF (SELECTED_FRAME ());
+
       destroy_fringe_bitmap (which);
 
-      /* XXX Is SELECTED_FRAME OK here? */
-      struct redisplay_interface *rif = FRAME_RIF (SELECTED_FRAME ());
       if (rif && rif->define_fringe_bitmap)
 	rif->define_fringe_bitmap (which, fb->bits, fb->height, fb->width);