comparison src/ui.c @ 294:1c1cbdc42f75 v7.0077

updated for version 7.0077
author vimboss
date Tue, 31 May 2005 22:22:17 +0000
parents 8fa8d7964cf1
children 03b3684919e3
comparison
equal deleted inserted replaced
293:f811be6fa9b5 294:1c1cbdc42f75
1694 int unconverted; 1694 int unconverted;
1695 # endif 1695 # endif
1696 #endif 1696 #endif
1697 1697
1698 #ifdef FEAT_GUI 1698 #ifdef FEAT_GUI
1699 if (gui.in_use) 1699 if (gui.in_use
1700 # ifdef NO_CONSOLE_INPUT
1701 /* Don't use the GUI input when the window hasn't been opened yet.
1702 * We get here from ui_inchar() when we should try reading from stdin. */
1703 && !no_console_input()
1704 # endif
1705 )
1700 { 1706 {
1701 gui_mch_update(); 1707 gui_mch_update();
1702 return; 1708 return;
1703 } 1709 }
1704 #endif 1710 #endif
2138 { 2144 {
2139 /* Got something */ 2145 /* Got something */
2140 clip_yank_selection(MCHAR, buffer, (long)nbytes, cbd); 2146 clip_yank_selection(MCHAR, buffer, (long)nbytes, cbd);
2141 XFree((void *)buffer); 2147 XFree((void *)buffer);
2142 if (p_verbose > 0) 2148 if (p_verbose > 0)
2143 MSG(_("Used CUT_BUFFER0 instead of empty selection")); 2149 verb_msg((char_u *)_("Used CUT_BUFFER0 instead of empty selection"));
2144 } 2150 }
2145 } 2151 }
2146 2152
2147 static Boolean clip_x11_convert_selection_cb __ARGS((Widget, Atom *, Atom *, Atom *, XtPointer *, long_u *, int *)); 2153 static Boolean clip_x11_convert_selection_cb __ARGS((Widget, Atom *, Atom *, Atom *, XtPointer *, long_u *, int *));
2148 2154