summaryrefslogtreecommitdiffstats
path: root/win/tkWinDialog.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-07-30 21:00:31 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-07-30 21:00:31 (GMT)
commit46f8ffc87ddcd58b713381c3d0c0fb8ad18035a1 (patch)
tree59c1b269d014d60a84384986960c0e2e5f624e33 /win/tkWinDialog.c
parentd9d7ac4b437138307673eb8eed3d6753d7c237f6 (diff)
downloadtk-46f8ffc87ddcd58b713381c3d0c0fb8ad18035a1.zip
tk-46f8ffc87ddcd58b713381c3d0c0fb8ad18035a1.tar.gz
tk-46f8ffc87ddcd58b713381c3d0c0fb8ad18035a1.tar.bz2
Don't use L'?', the L doesn't do anything here
Diffstat (limited to 'win/tkWinDialog.c')
-rw-r--r--win/tkWinDialog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tkWinDialog.c b/win/tkWinDialog.c
index 26d11ed..c8e2432 100644
--- a/win/tkWinDialog.c
+++ b/win/tkWinDialog.c
@@ -1372,7 +1372,7 @@ static int GetFileNameVista(Tcl_Interp *interp, OFNOpts *optsPtr,
src = Tcl_GetString(optsPtr->extObj);
wstr = (LPWSTR) Tcl_WinUtfToTChar(src, optsPtr->extObj->length, &ds);
- if (wstr[0] == L'.')
+ if (wstr[0] == '.')
++wstr;
hr = fdlgIf->lpVtbl->SetDefaultExtension(fdlgIf, wstr);
Tcl_DStringFree(&ds);