Mercurial > vim
comparison src/gui_w48.c @ 1791:5e225f973b5d v7.2.089
updated for version 7.2-089
author | vimboss |
---|---|
date | Wed, 28 Jan 2009 13:18:26 +0000 |
parents | c22ded254d05 |
children | 1fc8d918d9fc |
comparison
equal
deleted
inserted
replaced
1790:ef886129f0c0 | 1791:5e225f973b5d |
---|---|
1661 #ifdef FEAT_OLE | 1661 #ifdef FEAT_OLE |
1662 /* Look after OLE Automation commands */ | 1662 /* Look after OLE Automation commands */ |
1663 if (msg.message == WM_OLE) | 1663 if (msg.message == WM_OLE) |
1664 { | 1664 { |
1665 char_u *str = (char_u *)msg.lParam; | 1665 char_u *str = (char_u *)msg.lParam; |
1666 add_to_input_buf(str, (int)STRLEN(str)); | 1666 if (str == NULL || *str == NUL) |
1667 vim_free(str); | 1667 { |
1668 /* Message can't be ours, forward it. Fixes problem with Ultramon | |
1669 * 3.0.4 */ | |
1670 DispatchMessage(&msg); | |
1671 } | |
1672 else | |
1673 { | |
1674 add_to_input_buf(str, (int)STRLEN(str)); | |
1675 vim_free(str); /* was allocated in CVim::SendKeys() */ | |
1676 } | |
1668 return; | 1677 return; |
1669 } | 1678 } |
1670 #endif | 1679 #endif |
1671 | 1680 |
1672 #ifdef FEAT_NETBEANS_INTG | 1681 #ifdef FEAT_NETBEANS_INTG |