summaryrefslogtreecommitdiff
path: root/src/gui.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-08-29 16:34:27 +0200
committerBram Moolenaar <Bram@vim.org>2012-08-29 16:34:27 +0200
commit0551410a14d8fdfa657392c0d6b3cc8dd643752d (patch)
treee304ae9e2dbc3663f83b5645c55e818a965b6c94 /src/gui.c
parent3633dc012919238e66c006b1037e2a1fece2b18d (diff)
downloadvim-git-0551410a14d8fdfa657392c0d6b3cc8dd643752d.tar.gz
updated for version 7.3.644v7.3.644
Problem: Dead code for BeOS GUI. Solution: Remove unused __BEOS__ stuff.
Diffstat (limited to 'src/gui.c')
-rw-r--r--src/gui.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gui.c b/src/gui.c
index f30952c31..413e1a4e3 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -37,8 +37,7 @@ static void gui_set_fg_color __ARGS((char_u *name));
static void gui_set_bg_color __ARGS((char_u *name));
static win_T *xy2win __ARGS((int x, int y));
-#if defined(UNIX) && !defined(__BEOS__) && !defined(MACOS_X) \
- && !defined(__APPLE__)
+#if defined(UNIX) && !defined(MACOS_X) && !defined(__APPLE__)
# define MAY_FORK
static void gui_do_fork __ARGS((void));
@@ -784,11 +783,9 @@ error:
gui_exit(rc)
int rc;
{
-#ifndef __BEOS__
/* don't free the fonts, it leads to a BUS error
* richard@whitequeen.com Jul 99 */
free_highlight_fonts();
-#endif
gui.in_use = FALSE;
gui_mch_exit(rc);
}