Mercurial > emacs
diff src/macterm.c @ 81570:bcf93d8a866b
(x_draw_fringe_bitmap) [MAC_OSX]: Fix last change.
| author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
|---|---|
| date | Sat, 23 Jun 2007 01:53:40 +0000 |
| parents | bfb314508332 |
| children | fb6a1213c5e8 |
line wrap: on
line diff
--- a/src/macterm.c Sat Jun 23 01:50:22 2007 +0000 +++ b/src/macterm.c Sat Jun 23 01:53:40 2007 +0000 @@ -2243,13 +2243,16 @@ 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; } }
