summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-07-04 13:55:48 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-07-04 13:55:48 (GMT)
commit7a09e785c83fd34b46743f17f67894f948ab7f30 (patch)
tree105090715610050eda2fd141484ca61f4f0103cd /win
parenteb8badc9e0bbf983cf95c088c9cabbf7c3944a74 (diff)
parentcb55a38091831e5ab93075fc85338fd8af5ff724 (diff)
downloadtk-7a09e785c83fd34b46743f17f67894f948ab7f30.zip
tk-7a09e785c83fd34b46743f17f67894f948ab7f30.tar.gz
tk-7a09e785c83fd34b46743f17f67894f948ab7f30.tar.bz2
typo
Diffstat (limited to 'win')
-rw-r--r--win/tkWinDialog.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/win/tkWinDialog.c b/win/tkWinDialog.c
index b3eeed1..a09980a 100644
--- a/win/tkWinDialog.c
+++ b/win/tkWinDialog.c
@@ -576,7 +576,7 @@ GetFileName(
OFNData ofnData;
int cdlgerr;
int filterIndex = 0, result = TCL_ERROR, winCode, oldMode, i, multi = 0;
- int inValue, confirmOverwrite = 1;
+ int confirmOverwrite = 1;
const char *extension = NULL, *title = NULL;
Tk_Window tkwin = clientData;
HWND hWnd;
@@ -615,7 +615,7 @@ GetFileName(
{"-typevariable", FILE_TYPEVARIABLE},
{NULL, FILE_DEFAULT/*ignored*/ }
};
- const struct Options *options = open ? optionOptions : saveOptions;
+ const struct Options *const options = open ? openOptions : saveOptions;
file[0] = '\0';
ZeroMemory(&ofnData, sizeof(OFNData));
@@ -632,7 +632,7 @@ GetFileName(
Tcl_Obj *valuePtr = objv[i + 1];
if (Tcl_GetIndexFromObjStruct(interp, objv[i], options,
- sizeof(struct Option), "option", 0, &index) != TCL_OK) {
+ sizeof(struct Options), "option", 0, &index) != TCL_OK) {
goto end;
} else if (i + 1 == objc) {
Tcl_AppendResult(interp, "value for \"", options[index].name,