diff options
| author | YAMAMOTO Mitsuharu | 2007-06-23 01:53:51 +0000 |
|---|---|---|
| committer | YAMAMOTO Mitsuharu | 2007-06-23 01:53:51 +0000 |
| commit | 511a18d9e2ff286517e511dafb9b1a3829b59708 (patch) | |
| tree | 4f770bef7544793d4f92cca5008d9ee816c92f33 /src/macterm.c | |
| parent | e855c5d81e526cb40b3c2abd14ecec12a36592b5 (diff) | |
| download | emacs-511a18d9e2ff286517e511dafb9b1a3829b59708.tar.gz emacs-511a18d9e2ff286517e511dafb9b1a3829b59708.zip | |
(x_draw_fringe_bitmap) [MAC_OSX]: Fix last change.
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 | ||