diff options
| author | Jason Rumney | 2007-05-15 23:07:08 +0000 |
|---|---|---|
| committer | Jason Rumney | 2007-05-15 23:07:08 +0000 |
| commit | 5c217767aedfadc8449ff2b0c7e37f2375c9a693 (patch) | |
| tree | 054ffe008d634939ac0639e0a0df8b666ae960ad /src | |
| parent | 936ad3d6f497dd8b01c6ef814efc4e885f117006 (diff) | |
| download | emacs-5c217767aedfadc8449ff2b0c7e37f2375c9a693.tar.gz emacs-5c217767aedfadc8449ff2b0c7e37f2375c9a693.zip | |
(w32_init_fringe w32_reset_fringes) [HAVE_NTGUI]:
(mac_init_fringe) [MAC_OS]: Get rif from selected_frame.
Diffstat (limited to 'src')
| -rw-r--r-- | src/fringe.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fringe.c b/src/fringe.c index 2fb88ce01e8..cb75c92ff5c 100644 --- a/src/fringe.c +++ b/src/fringe.c | |||
| @@ -1705,6 +1705,7 @@ mac_init_fringe () | |||
| 1705 | #endif | 1705 | #endif |
| 1706 | { | 1706 | { |
| 1707 | int bt; | 1707 | int bt; |
| 1708 | struct redisplay_interface *rif = FRAME_RIF (SELECTED_FRAME ()); | ||
| 1708 | 1709 | ||
| 1709 | if (!rif) | 1710 | if (!rif) |
| 1710 | return; | 1711 | return; |
| @@ -1723,6 +1724,7 @@ w32_reset_fringes () | |||
| 1723 | { | 1724 | { |
| 1724 | /* Destroy row bitmaps. */ | 1725 | /* Destroy row bitmaps. */ |
| 1725 | int bt; | 1726 | int bt; |
| 1727 | struct redisplay_interface *rif = FRAME_RIF (SELECTED_FRAME ()); | ||
| 1726 | 1728 | ||
| 1727 | if (!rif) | 1729 | if (!rif) |
| 1728 | return; | 1730 | return; |