2004-09-29 Kim F. Storm <storm@cua.dk>
- * fringe.c: Simplity last change.
+ * fringe.c: Remove limit on number of bitmaps.
+ (fringe_bitmaps, fringe_faces): Change to pointers.
+ (max_fringe_bitmaps): New var.
+ (Fdefine_fringe_bitmap): Expand fringe_bitmaps and fringe_faces.
+ (init_fringe): Allocate fringe_bitmaps and fringe_faces.
+
+ * dispextern.h (FRINGE_ID_BITS): Increase to 16 bits (64K bitmaps).
+ (struct glyph_row): Reorder fringe_bitmap related fields.
+ (struct it): Likewise.
+
+ * w32term.c (fringe_bmp): Change to pointer.
+ (max_fringe_bmp): New var.
+ (w32_define_fringe_bitmap): Expand fringe_bmp.
+ (w32_draw_fringe_bitmap): Check max_fringe_bmp.
+ (w32_destroy_fringe_bitmap): Likewise.
+
+2004-09-29 Kim F. Storm <storm@cua.dk>
+
+ * fringe.c: Simplify last change.
(lookup_fringe_bitmap): New function.
(valid_fringe_bitmap_p, resolve_fringe_bitmap): Remove.
(Fdestroy_fringe_bitmap): Use lookup_fringe_bitmap.