Commit 511a18d9 authored by YAMAMOTO Mitsuharu's avatar YAMAMOTO Mitsuharu
Browse files

(x_draw_fringe_bitmap) [MAC_OSX]: Fix last change.

parent e855c5d8
2007-06-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
* macterm.c (x_draw_fringe_bitmap) [MAC_OSX]: Extend fringe background
to scroll bar gap also when bitmap fills fringe. Draw only foreground
if extended background has already been filled.
2007-06-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
 
* macgui.h (USE_CG_DRAWING): Don't require USE_ATSUI.
......
......@@ -2243,13 +2243,16 @@ x_draw_fringe_bitmap (w, row, p)
ny = row->visible_height;
}
if (left + width == bx)
if (bx >= 0)
{
bx = left + sb_width;
nx += width - sb_width;
if (left + width == bx)
{
bx = left + sb_width;
nx += width - sb_width;
}
else if (bx + nx == left)
nx += width - sb_width;
}
else if (bx + nx == left)
nx += width - sb_width;
}
}
......
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