summaryrefslogtreecommitdiffstats
path: root/win/tkWinDialog.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-28 13:22:32 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-28 13:22:32 (GMT)
commit0fd1dde8cc2bed51e25230af8f739e7280e54389 (patch)
tree4d04230bf2dc481a2397be10fa5b3f947f5bc7e7 /win/tkWinDialog.c
parent9c4c75d2646667f334d7b2abf2942f47ed06bc4e (diff)
downloadtk-0fd1dde8cc2bed51e25230af8f739e7280e54389.zip
tk-0fd1dde8cc2bed51e25230af8f739e7280e54389.tar.gz
tk-0fd1dde8cc2bed51e25230af8f739e7280e54389.tar.bz2
MSVC++ 6.0 does't handle C++ comments
Diffstat (limited to 'win/tkWinDialog.c')
-rw-r--r--win/tkWinDialog.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/win/tkWinDialog.c b/win/tkWinDialog.c
index 3702efa..cdfdafa 100644
--- a/win/tkWinDialog.c
+++ b/win/tkWinDialog.c
@@ -1086,7 +1086,7 @@ ParseOFNOptions(
}
ZeroMemory(optsPtr, sizeof(*optsPtr));
- // optsPtr->forceXPStyle = 1;
+ /* optsPtr->forceXPStyle = 1; */
optsPtr->tkwin = (Tk_Window)clientData;
optsPtr->confirmOverwrite = 1; /* By default we ask for confirmation */
Tcl_DStringInit(&optsPtr->utfDirString);
@@ -2711,10 +2711,10 @@ ChooseDirectoryValidateProc(
if (SHGetPathFromIDListW((LPITEMIDLIST) lParam, selDir)) {
SendMessageW(hwnd, BFFM_SETSTATUSTEXTW, 0, (LPARAM) selDir);
- // enable the OK button
+ /* enable the OK button */
SendMessageW(hwnd, BFFM_ENABLEOK, 0, (LPARAM) 1);
} else {
- // disable the OK button
+ /* disable the OK button */
SendMessageW(hwnd, BFFM_ENABLEOK, 0, (LPARAM) 0);
}
UpdateWindow(hwnd);