summaryrefslogtreecommitdiffstats
path: root/win/tclWinChan.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-06-29 13:57:37 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-06-29 13:57:37 (GMT)
commit9d7eafebca8461def3b0ec64fd2996717dc7905a (patch)
tree9be5baceabf89f98d36c555071b1816b37e3b3bd /win/tclWinChan.c
parent10643b02982edd5bfc36a6ab8d6f84795a00c3a3 (diff)
downloadtcl-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/tclWinChan.c')
-rw-r--r--win/tclWinChan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tclWinChan.c b/win/tclWinChan.c
index dcd8528..3b6e4e4 100644
--- a/win/tclWinChan.c
+++ b/win/tclWinChan.c
@@ -1571,7 +1571,7 @@ NativeIsComPort(
* The 4th character must be a digit 1..9
*/
- if ((p[3] < L'1') || (p[3] > L'9')) {
+ if ((p[3] < '1') || (p[3] > '9')) {
return 0;
}
return 1;