Skip to content

Commit

Permalink
updated for version 7.3.644
Browse files Browse the repository at this point in the history
Problem:    Dead code for BeOS GUI.
Solution:   Remove unused __BEOS__ stuff.
  • Loading branch information
brammool committed Aug 29, 2012
1 parent 3633dc0 commit 0551410
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 1 addition & 4 deletions src/gui.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand Down Expand Up @@ -784,11 +783,9 @@ gui_init()
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);
}
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -719,6 +719,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
644,
/**/
643,
/**/
Expand Down

0 comments on commit 0551410

Please sign in to comment.