Commit 893d44a1 authored by Yoshiaki Kasahara's avatar Yoshiaki Kasahara Committed by Chong Yidong
Browse files

Fix init_buffer for USE_MMAP_FOR_BUFFERS case (backport from trunk)

* buffer.c (init_buffer) [USE_MMAP_FOR_BUFFERS]: Adjust to
aliasing change.
parent c3fae8e7
2012-01-18 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp> (tiny change)
* buffer.c (init_buffer) [USE_MMAP_FOR_BUFFERS]: Adjust to
aliasing change.
2012-01-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
 
* xftfont.c (xftfont_draw): Use the font metrics of s->font to
......
......@@ -5338,7 +5338,7 @@ init_buffer ()
Map new memory. */
struct buffer *b;
for (b = all_buffers; b; b = b->next)
for (b = all_buffers; b; b = b->header.next.buffer)
if (b->text->beg == NULL)
enlarge_buffer_text (b, 0);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment