summaryrefslogtreecommitdiff
path: root/src/gui.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-01-31 19:09:12 +0000
committerBram Moolenaar <Bram@vim.org>2005-01-31 19:09:12 +0000
commitb23c33872aa46de39bdc2cd2cbded697afa6ad08 (patch)
tree5ea25ecb55e8227f7e45c4982b1b7adf323d1f58 /src/gui.c
parent65c1b0166982f95d78106c3f0a3fac48424ba87d (diff)
downloadvim-b23c33872aa46de39bdc2cd2cbded697afa6ad08.zip
updated for version 7.0046
Diffstat (limited to 'src/gui.c')
-rw-r--r--src/gui.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui.c b/src/gui.c
index ec3af2812..572e330f3 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -318,6 +318,12 @@ gui_init()
}
/*
+ * Reset 'paste'. It's useful in the terminal, but not in the GUI. It
+ * breaks the Paste toolbar button.
+ */
+ set_option_value((char_u *)"paste", 0L, NULL, 0);
+
+ /*
* Set up system-wide default menus.
*/
#if defined(SYS_MENU_FILE) && defined(FEAT_MENU)