0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

updated for version 7.3.644

Problem:    Dead code for BeOS GUI.
Solution:   Remove unused __BEOS__ stuff.
This commit is contained in:
Bram Moolenaar
2012-08-29 16:34:27 +02:00
parent 3633dc0129
commit 0551410a14
2 changed files with 3 additions and 4 deletions

View File

@@ -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);
}

View File

@@ -719,6 +719,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
644,
/**/
643,
/**/