summaryrefslogtreecommitdiff
path: root/src/os_amiga.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-11-29 20:39:38 +0000
committerBram Moolenaar <Bram@vim.org>2021-11-29 20:39:38 +0000
commit651fca85c71a4c5807f8f828f9ded30fbd754325 (patch)
tree8e8524432d917e2657b7717aeb40823b21b1c38c /src/os_amiga.c
parent0c359af5c0fd106d3f57cc0bb7cef1c89b5e1e10 (diff)
downloadvim-git-651fca85c71a4c5807f8f828f9ded30fbd754325.tar.gz
patch 8.2.3699: the +title feature adds a lot of #ifdef but little codev8.2.3699
Problem: The +title feature adds a lot of #ifdef but little code. Solution: Graduate the +title feature.
Diffstat (limited to 'src/os_amiga.c')
-rw-r--r--src/os_amiga.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/os_amiga.c b/src/os_amiga.c
index f157c0bd2..18f01928a 100644
--- a/src/os_amiga.c
+++ b/src/os_amiga.c
@@ -623,7 +623,6 @@ get_fib(char_u *fname)
return fib;
}
-#ifdef FEAT_TITLE
/*
* set the title of our window
* icon name is not set
@@ -660,7 +659,6 @@ mch_can_restore_icon(void)
{
return FALSE;
}
-#endif
void
mch_setmouse(int on UNUSED)
@@ -940,9 +938,7 @@ mch_exit(int r)
out_flush();
}
-#ifdef FEAT_TITLE
mch_restore_title(SAVE_RESTORE_BOTH); // restore window title
-#endif
ml_close_all(TRUE); // remove all memfiles
@@ -1442,9 +1438,7 @@ mch_call_shell(
cur_tmode = TMODE_UNKNOWN;
settmode(TMODE_RAW); // set to raw mode
}
-#ifdef FEAT_TITLE
resettitle();
-#endif
if (term_console)
win_resize_on(); // window resize events activated
return retval;