diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-06-29 13:57:37 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-06-29 13:57:37 (GMT) |
commit | 9d7eafebca8461def3b0ec64fd2996717dc7905a (patch) | |
tree | 9be5baceabf89f98d36c555071b1816b37e3b3bd /win/tclWin32Dll.c | |
parent | 10643b02982edd5bfc36a6ab8d6f84795a00c3a3 (diff) | |
download | tcl-9d7eafebca8461def3b0ec64fd2996717dc7905a.zip tcl-9d7eafebca8461def3b0ec64fd2996717dc7905a.tar.gz tcl-9d7eafebca8461def3b0ec64fd2996717dc7905a.tar.bz2 |
Code cleanup, like TCHAR -> WCHAR and TEXT("xxx") -> L"xxx", since we always compile in UNICODE mode.
Diffstat (limited to 'win/tclWin32Dll.c')
-rw-r--r-- | win/tclWin32Dll.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWin32Dll.c b/win/tclWin32Dll.c index 36205e1..9e5885c 100644 --- a/win/tclWin32Dll.c +++ b/win/tclWin32Dll.c @@ -290,7 +290,7 @@ TclWinDriveLetterForVolMountPoint( { MountPointMap *dlIter, *dlPtr2; WCHAR Target[55]; /* Target of mount at mount point */ - WCHAR drive[4] = TEXT("A:\\"); + WCHAR drive[4] = L"A:\\"; /* * Detect the volume mounted there. Unfortunately, there is no simple way @@ -368,7 +368,7 @@ TclWinDriveLetterForVolMountPoint( * We couldn't find it, so we must iterate over the letters. */ - for (drive[0] = L'A'; drive[0] <= L'Z'; drive[0]++) { + for (drive[0] = 'A'; drive[0] <= 'Z'; drive[0]++) { /* * Try to read the volume mount point and see where it points. */ |