summaryrefslogtreecommitdiffstats
path: root/win/tkWinX.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-04-29 15:28:04 (GMT)
committernijtmans <nijtmans>2010-04-29 15:28:04 (GMT)
commitb36ef0e6d25a1a247dab7d8d39cc8f4242df1450 (patch)
tree82bad50df8f16a12bb06512831f4ee71e21981ce /win/tkWinX.c
parentbcca65eae4c1a94002d5f9aa9bd7fb75dc48b0fa (diff)
downloadtk-b36ef0e6d25a1a247dab7d8d39cc8f4242df1450.zip
tk-b36ef0e6d25a1a247dab7d8d39cc8f4242df1450.tar.gz
tk-b36ef0e6d25a1a247dab7d8d39cc8f4242df1450.tar.bz2
Unnessarary TCL_STORAGE_CLASS re-definitions
Make various functions MODULE_SCOPE TCHAR-related fixes, making al those files compile fine when TCHAR != char.
Diffstat (limited to 'win/tkWinX.c')
-rw-r--r--win/tkWinX.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/win/tkWinX.c b/win/tkWinX.c
index 312bab0..a0f69ab 100644
--- a/win/tkWinX.c
+++ b/win/tkWinX.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkWinX.c,v 1.63 2010/02/16 21:12:56 nijtmans Exp $
+ * RCS: @(#) $Id: tkWinX.c,v 1.64 2010/04/29 15:28:04 nijtmans Exp $
*/
/*
@@ -389,8 +389,8 @@ TkWinGetPlatformId(void)
if ((os.dwPlatformId == VER_PLATFORM_WIN32_NT) &&
(os.dwMajorVersion == 5 && os.dwMinorVersion == 1)) {
HKEY hKey;
- LPCSTR szSubKey = TEXT("Control Panel\\Appearance");
- LPCSTR szCurrent = TEXT("Current");
+ LPCTSTR szSubKey = TEXT("Control Panel\\Appearance");
+ LPCTSTR szCurrent = TEXT("Current");
DWORD dwSize = 200;
char pBuffer[200];