diff src/term.c @ 4168:ff193256398a v7.3.836

updated for version 7.3.836 Problem: Clipboard does not work on Win32 when compiled with Cygwin. Solution: Move the Win32 clipboard code to a separate file and use it when building with os_unix.c. (Frodak Baksik, Ken Takata)
author Bram Moolenaar <bram@vim.org>
date Tue, 26 Feb 2013 14:56:42 +0100
parents ad21448af931
children ecf21be84def
line wrap: on
line diff
--- a/src/term.c
+++ b/src/term.c
@@ -1853,7 +1853,9 @@ set_termname(term)
 #    ifdef FEAT_GUI
 	if (!gui.in_use)
 #    endif
+#    ifndef FEAT_CYGWIN_WIN32_CLIPBOARD
 	    clip_init(FALSE);
+#    endif
 #   endif
 	if (use_xterm_like_mouse(term))
 	{