diff options
Diffstat (limited to 'src/macterm.c')
| -rw-r--r-- | src/macterm.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/macterm.c b/src/macterm.c index 0d7aa68bbea..52709c757f2 100644 --- a/src/macterm.c +++ b/src/macterm.c | |||
| @@ -2243,13 +2243,16 @@ x_draw_fringe_bitmap (w, row, p) | |||
| 2243 | ny = row->visible_height; | 2243 | ny = row->visible_height; |
| 2244 | } | 2244 | } |
| 2245 | 2245 | ||
| 2246 | if (left + width == bx) | 2246 | if (bx >= 0) |
| 2247 | { | 2247 | { |
| 2248 | bx = left + sb_width; | 2248 | if (left + width == bx) |
| 2249 | nx += width - sb_width; | 2249 | { |
| 2250 | bx = left + sb_width; | ||
| 2251 | nx += width - sb_width; | ||
| 2252 | } | ||
| 2253 | else if (bx + nx == left) | ||
| 2254 | nx += width - sb_width; | ||
| 2250 | } | 2255 | } |
| 2251 | else if (bx + nx == left) | ||
| 2252 | nx += width - sb_width; | ||
| 2253 | } | 2256 | } |
| 2254 | } | 2257 | } |
| 2255 | 2258 | ||