summaryrefslogtreecommitdiffstats
path: root/win/tkWinPixmap.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-09-16 07:59:23 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-09-16 07:59:23 (GMT)
commit487b808fa7ad1096e9ee4112a719c8ed3cd45ff8 (patch)
tree91ab786798803ba6ceb2719029759f2c87ccfd5f /win/tkWinPixmap.c
parentb759c79faef78af4298e356f590b3d3a35b5ae01 (diff)
downloadtk-487b808fa7ad1096e9ee4112a719c8ed3cd45ff8.zip
tk-487b808fa7ad1096e9ee4112a719c8ed3cd45ff8.tar.gz
tk-487b808fa7ad1096e9ee4112a719c8ed3cd45ff8.tar.bz2
TCHAR -> WCHAR conversions, since our TCHAR is actually WCHAR when compiling everything in UNICODE mode on Windows.
Diffstat (limited to 'win/tkWinPixmap.c')
-rw-r--r--win/tkWinPixmap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/win/tkWinPixmap.c b/win/tkWinPixmap.c
index aa1ebde..9850e26 100644
--- a/win/tkWinPixmap.c
+++ b/win/tkWinPixmap.c
@@ -104,9 +104,9 @@ Tk_GetPixmap(
FORMAT_MESSAGE_FROM_SYSTEM|FORMAT_MESSAGE_IGNORE_INSERTS,
NULL, GetLastError(),
MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
- (LPTSTR)&lpMsgBuf, 0, NULL)) {
- MessageBox(NULL, (LPTSTR) lpMsgBuf,
- TEXT("Tk_GetPixmap: Error from CreateDIBSection"),
+ (LPWSTR)&lpMsgBuf, 0, NULL)) {
+ MessageBox(NULL, (LPWSTR) lpMsgBuf,
+ L"Tk_GetPixmap: Error from CreateDIBSection",
MB_OK | MB_ICONINFORMATION);
LocalFree(lpMsgBuf);
}