diff options
author | nijtmans <nijtmans> | 2010-04-08 14:06:20 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2010-04-08 14:06:20 (GMT) |
commit | 843ef125db98bc3a762319cc94e9ce8de0881cef (patch) | |
tree | b7fcf9bd3a46ca59ea6692d02cb7cacc14303358 /win/tkWinSendCom.c | |
parent | 3b668a10084cd1d859858124bfa1799162453d08 (diff) | |
download | tk-843ef125db98bc3a762319cc94e9ce8de0881cef.zip tk-843ef125db98bc3a762319cc94e9ce8de0881cef.tar.gz tk-843ef125db98bc3a762319cc94e9ce8de0881cef.tar.bz2 |
Add <wchar.h> to tkWinPort.h, and
remove some earlier CYGWIN-related
hacks which then are no longer necessary.
Diffstat (limited to 'win/tkWinSendCom.c')
-rw-r--r-- | win/tkWinSendCom.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/win/tkWinSendCom.c b/win/tkWinSendCom.c index f3de005..e0f6d38 100644 --- a/win/tkWinSendCom.c +++ b/win/tkWinSendCom.c @@ -18,7 +18,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkWinSendCom.c,v 1.10 2010/01/22 14:17:53 nijtmans Exp $ + * RCS: @(#) $Id: tkWinSendCom.c,v 1.11 2010/04/08 14:06:20 nijtmans Exp $ */ #include "tkInt.h" @@ -252,9 +252,9 @@ WinSendCom_GetIDsOfNames( if (rgDispId) { hr = DISP_E_UNKNOWNNAME; - if (wcscasecmp(*rgszNames, L"Send") == 0) { + if (_wcsicmp(*rgszNames, L"Send") == 0) { *rgDispId = TKWINSENDCOM_DISPID_SEND, hr = S_OK; - } else if (wcscasecmp(*rgszNames, L"Async") == 0) { + } else if (_wcsicmp(*rgszNames, L"Async") == 0) { *rgDispId = TKWINSENDCOM_DISPID_ASYNC, hr = S_OK; } } |