summaryrefslogtreecommitdiffstats
path: root/win/tkWinClipboard.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-07-30 14:45:38 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-07-30 14:45:38 (GMT)
commitb50b9471ff522194c657fe4228da646eaa8e5698 (patch)
tree8d7a6a471a8c67a684b1658c0f26b88b81a796de /win/tkWinClipboard.c
parent0bc5aa8a4426d81a3e4419b0e9b2f6cb3261dff2 (diff)
downloadtk-b50b9471ff522194c657fe4228da646eaa8e5698.zip
tk-b50b9471ff522194c657fe4228da646eaa8e5698.tar.gz
tk-b50b9471ff522194c657fe4228da646eaa8e5698.tar.bz2
Use WCHAR in stead of TCHAR (almost) everywhere, since we now only support compiling Tcl in UNICODE mode anyway.
Diffstat (limited to 'win/tkWinClipboard.c')
-rw-r--r--win/tkWinClipboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tkWinClipboard.c b/win/tkWinClipboard.c
index 19874fb..06200d4 100644
--- a/win/tkWinClipboard.c
+++ b/win/tkWinClipboard.c
@@ -79,7 +79,7 @@ TkSelGetSelection(
goto error;
}
data = GlobalLock(handle);
- Tcl_WinTCharToUtf((TCHAR *)data, -1, &ds);
+ Tcl_WinTCharToUtf((WCHAR *)data, -1, &ds);
GlobalUnlock(handle);
} else if (IsClipboardFormatAvailable(CF_TEXT)) {
/*