summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2012-07-04 13:53:43 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2012-07-04 13:53:43 (GMT)
commit866c03d07a2d58e6f3d8f2f0e3e227e811311ede (patch)
tree5954f2cee80024acbee3487d95f8a5fa106752d0
parent0f4c5ada0114529db6dc5dfe6bbcaab9e67b667e (diff)
parentb0111f83d9410cd593dc1b84fac1e3cef753f5e2 (diff)
downloadtk-866c03d07a2d58e6f3d8f2f0e3e227e811311ede.zip
tk-866c03d07a2d58e6f3d8f2f0e3e227e811311ede.tar.gz
tk-866c03d07a2d58e6f3d8f2f0e3e227e811311ede.tar.bz2
typo
-rw-r--r--win/tkWinDialog.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/win/tkWinDialog.c b/win/tkWinDialog.c
index b74542f..069991b 100644
--- a/win/tkWinDialog.c
+++ b/win/tkWinDialog.c
@@ -592,7 +592,7 @@ GetFileNameW(
OFNData ofnData;
int cdlgerr;
int filterIndex = 0, result = TCL_ERROR, winCode, oldMode, i, multi = 0;
- int inValue, confirmOverwrite = 1;
+ int confirmOverwrite = 1;
char *extension = NULL, *title = NULL;
Tk_Window tkwin = (Tk_Window) clientData;
HWND hWnd;
@@ -632,7 +632,7 @@ GetFileNameW(
{"-typevariable", FILE_TYPEVARIABLE},
{NULL, FILE_DEFAULT/*ignored*/ }
};
- CONST struct Options *options = open ? optionOptions : saveOptions;
+ CONST struct Options *options = open ? openOptions : saveOptions;
file[0] = '\0';
ZeroMemory(&ofnData, sizeof(OFNData));
@@ -649,7 +649,7 @@ GetFileNameW(
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,