summaryrefslogtreecommitdiffstats
path: root/generic/tkBusy.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-10-25 21:06:25 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-10-25 21:06:25 (GMT)
commit0d5336db012f45753abace489f18f0ca299c6961 (patch)
treeb1bf3280a9046df99226158978502eeb26f5b0a3 /generic/tkBusy.c
parente97381a6d921de403516d5b761539a450f4af83c (diff)
parent1320b8a2a9c1269a345d44d673a7a35707fbbe9c (diff)
downloadtk-core-tip-626.zip
tk-core-tip-626.tar.gz
tk-core-tip-626.tar.bz2
Merge 9.0core-tip-626
Diffstat (limited to 'generic/tkBusy.c')
-rw-r--r--generic/tkBusy.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/generic/tkBusy.c b/generic/tkBusy.c
index 65e1fc7..8c7a956 100644
--- a/generic/tkBusy.c
+++ b/generic/tkBusy.c
@@ -697,7 +697,7 @@ GetBusy(
hPtr = Tcl_FindHashEntry(busyTablePtr, tkwin);
if (hPtr == NULL) {
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
- "can't find busy window \"%s\"", Tcl_GetString(windowObj)));
+ "cannot find busy window \"%s\"", Tcl_GetString(windowObj)));
Tcl_SetErrorCode(interp, "TK", "LOOKUP", "BUSY",
Tcl_GetString(windowObj), (char *)NULL);
return NULL;
@@ -770,7 +770,7 @@ HoldBusy(
TkpHideBusyWindow(busyPtr);
}
if (result == TCL_OK) {
- Tcl_SetObjResult(interp, Tcl_NewStringObj(Tk_PathName(busyPtr->tkBusy), TCL_INDEX_NONE));
+ Tcl_SetObjResult(interp, Tcl_NewStringObj(Tk_PathName(busyPtr->tkBusy), TCL_INDEX_NONE));
}
return result;
}
@@ -806,7 +806,7 @@ Tk_BusyObjCmd(
int index, result = TCL_OK;
static const char *const optionStrings[] = {
"busywindow", "cget", "configure", "current", "forget", "hold",
- "status", NULL
+ "status", NULL
};
enum options {
BUSY_BUSYWINDOW, BUSY_CGET, BUSY_CONFIGURE, BUSY_CURRENT, BUSY_FORGET,
@@ -843,10 +843,10 @@ Tk_BusyObjCmd(
busyPtr = GetBusy(interp, busyTablePtr, objv[2]);
if (busyPtr == NULL) {
Tcl_ResetResult(interp);
- return TCL_OK;
+ return TCL_OK;
}
- Tcl_SetObjResult(interp, Tcl_NewStringObj(Tk_PathName(busyPtr->tkBusy), TCL_INDEX_NONE));
- return TCL_OK;
+ Tcl_SetObjResult(interp, Tcl_NewStringObj(Tk_PathName(busyPtr->tkBusy), TCL_INDEX_NONE));
+ return TCL_OK;
case BUSY_CGET:
if (objc != 4) {